![]() |
|
|
#12 | |
|
Aug 2006
10111010110112 Posts |
Quote:
P(2) - 1/4 - 1/9 = 0.0911... So the larger primes actually add a reasonably substantial part. I get a 1/230 chance without considering squares, a 1/215 chance considering 5, 7, and 11, and a 1/210 chance considering all primes > 3. |
|
|
|
|
|
|
#13 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
10110111111102 Posts |
Quote:
which one of you is correct? |
|
|
|
|
|
|
#14 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#15 |
|
May 2009
Dedham Massachusetts USA
3×281 Posts |
So 1/420 sounds right. That means the chance of escape is about 1/(4.2*<Number of Digits>) - does that sound right?
|
|
|
|
|
|
#16 |
|
May 2009
Dedham Massachusetts USA
15138 Posts |
Ironically, over the weekend my run got a down-driver at 105 digits and escaped going from 101 to 100 digits - so now I know the odds.
Now its wandering around driverless which has been happening to me a lot recently. Its making the 700 digit range much slower for me than the 500 where I usually had a driver. Last fiddled with by Greebley on 2009-11-09 at 15:13 |
|
|
|
|
|
#17 | |
|
May 2007
Kansas; USA
101000101011002 Posts |
Quote:
Also, wouldn't a 700 digit number always be slower testing than a 500 digit number? Last fiddled with by gd_barnes on 2009-11-11 at 01:47 |
|
|
|
|
|
|
#18 |
|
May 2009
Dedham Massachusetts USA
3×281 Posts |
Sorry the 700k starting numbers vs the 500k starting numbers. So nothing exciting.
|
|
|
|
|
|
#19 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
Quote:
Quote:
Code:
1695747911822354484381997577023402594846452149212181351156213445442416262308068696079790604630029894105542185365466081449964443131762673104304035139393232272369582138589765587532659519591908235314587877026382804760079271221862312110364323119218439335777073033168326538360116202826513345943023996895274024267423059275853356727456540594693562824161951564600609901278422824134229912663192334776839612879867665622274041104933288916718009110132205998960417046549816257966584380574695456919776114939713881 (the largest general factorization so far was 200 digits, and took an enormous amount of work, something like 80 CPU years for the sieving alone)
|
||
|
|
|
|
|
#20 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
133768 Posts |
I seem to be able to glean from the discussion in this thread that the probability of a number being prime is ln(N).
Am i correct? If not how have i gone wrong? I came to this conclusion based on the fact that earlier on in this thread in post #6 it is said that the probability of a number being 2*p with p=1mod4 is ln (10^(number of decimal digits))*2. I removed the *2 because i am not now concerned with whether the prime is 1mod4 or 3mod4. How do we work it out if we have trial factored upto a certain number? I have found http://www.mersenneforum.org/showthread.php?t=12356 RDS's answer for questions b and c seem to contain the answer i need, but i cant see how to input the size of the number into that formula unless it is ln (10^(number of decimal digits))/(exp(gamma)/[(number of decimal digits of trial factoring) * log(10)]) |
|
|
|
|
|
#21 | |
|
Nov 2008
2×33×43 Posts |
Quote:
|
|
|
|
|
|
|
#22 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
To sum up: you're right, the chance a number is prime is about 1 in ln(N).
http://primes.utm.edu/howmany.shtml#3 has more interesting related info.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I'm losing faith in my influence... | seba2122 | Prime Sierpinski Project | 2 | 2015-07-22 23:46 |
| Nice large downdriver capture | fivemack | Aliquot Sequences | 3 | 2013-08-07 18:49 |
| Beginning driver/downdriver questions | biwema | Aliquot Sequences | 6 | 2011-08-22 20:41 |
| Losing Downguide | henryzz | Aliquot Sequences | 5 | 2010-02-10 22:42 |
| GIMPS losing popularity? | ixfd64 | Lounge | 8 | 2003-11-15 00:09 |