Task: to find two prime numbers whose product is a 400 digit number.

This

1022731116849984128382970140461725893199 2883532546140280576806704317960648119367 2377124699979471607606314465365589539394 1805302550414778332749072722843441732197 4205545703859751798082548809071278533442 1766932914859818046781739244057376689689 2255723329228491768773454858783052995068 4787708109345332331133139141202295689475 2588959029409151843111542915460444247984 1841531569215551416798910788156968134891
is the product of a very well known 386 digit prime, 2**1279-1, and a somewhat less famous 14 digit prime, 98264582985493, one of the known 14 digit prime divisors of Googolplex + 10.

Sometimes perl is the right tool for the job... and sometimes Google is.

-sauoq
"My two cents aren't worth a dime.";

In reply to Re: Finding Primes (A Solution) by sauoq
in thread Finding Primes by Tommy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.