mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Aliquot Sequences

Reply
 
Thread Tools
Old 2009-11-08, 18:57   #12
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

597910 Posts
Default

Quote:
Originally Posted by Greebley View Post
I don't think the fact that we can have a square adds much. For example the chance of getting a square of 5 is only 1/25. Since we can't get a square of 2 or 3, the chance of a square part will be bigger than 1/25, but not a lot bigger.

One can add 1/25 + 1/49+ 1/121 to get an aproximation of the chance of escape to be around 1/430 for a 100 digit number.
1/25 + 1/49 + 1/121 = 0.0686...
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.
CRGreathouse is offline   Reply With Quote
Old 2009-11-08, 19:27   #13
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
1/25 + 1/49 + 1/121 = 0.0686...
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.
you seem to have got results that are twice as likely as Greebley's
which one of you is correct?
henryzz is online now   Reply With Quote
Old 2009-11-09, 01:10   #14
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by henryzz View Post
you seem to have got results that are twice as likely as Greebley's
which one of you is correct?
Greebley, I think. I forgot to divide by 2.

My only point was to show the contribution of the larger primes.
CRGreathouse is offline   Reply With Quote
Old 2009-11-09, 05:18   #15
Greebley
 
Greebley's Avatar
 
May 2009
Dedham Massachusetts USA

3·281 Posts
Default

So 1/420 sounds right. That means the chance of escape is about 1/(4.2*<Number of Digits>) - does that sound right?
Greebley is offline   Reply With Quote
Old 2009-11-09, 15:13   #16
Greebley
 
Greebley's Avatar
 
May 2009
Dedham Massachusetts USA

34B16 Posts
Default

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
Greebley is offline   Reply With Quote
Old 2009-11-11, 01:27   #17
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

22·19·137 Posts
Default

Quote:
Originally Posted by Greebley View Post
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.
Wow, you have sequences at 500 or 700 digits? That's pretty amazing. Can you share them with us?

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
gd_barnes is offline   Reply With Quote
Old 2009-11-11, 03:20   #18
Greebley
 
Greebley's Avatar
 
May 2009
Dedham Massachusetts USA

3×281 Posts
Default

Sorry the 700k starting numbers vs the 500k starting numbers. So nothing exciting.
Greebley is offline   Reply With Quote
Old 2009-11-11, 12:05   #19
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
Wow, you have sequences at 500 or 700 digits? That's pretty amazing. Can you share them with us?
Were...you being sarcastic? It's impossible using current hardware and publicly known factoring algorithms to get anywhere near that high in a remotely reasonable amount of time.
Quote:
Originally Posted by gd_barnes View Post
Also, wouldn't a 700 digit number always be slower testing than a 500 digit number?
Nope. Extreme example: Try factoring 334! (which has 700 digits; of course not taking into account already that you know it's 334! and therefore a trivial factorization) vs this c500, which I'll let you know factors as p250*p250:
Code:
1695747911822354484381997577023402594846452149212181351156213445442416262308068696079790604630029894105542185365466081449964443131762673104304035139393232272369582138589765587532659519591908235314587877026382804760079271221862312110364323119218439335777073033168326538360116202826513345943023996895274024267423059275853356727456540594693562824161951564600609901278422824134229912663192334776839612879867665622274041104933288916718009110132205998960417046549816257966584380574695456919776114939713881
But yes, on average a 700 digit number is far slower than a 500 digit number, so it's practically guaranteed that an Aliquot sequence at 700 digits would be far harder than an Aliquot sequence at 500 digits. The fact that (if NFS would be necessary) it's currently impossible to do any of 250, 500, or 700 digits in a reasonable amount of time is beside the point. (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)
Mini-Geek is offline   Reply With Quote
Old 2009-11-14, 17:01   #20
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

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)])
henryzz is online now   Reply With Quote
Old 2009-11-14, 18:04   #21
10metreh
 
10metreh's Avatar
 
Nov 2008

1001000100102 Posts
Default

Quote:
Originally Posted by henryzz View Post
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)])
http://en.wikipedia.org/wiki/Prime_Number_Theorem
10metreh is offline   Reply With Quote
Old 2009-11-14, 20:18   #22
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

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.
Mini-Geek is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 11:58.


Mon Aug 2 11:58:14 UTC 2021 up 10 days, 6:27, 0 users, load averages: 1.53, 1.66, 1.42

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.