mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2013-01-25, 02:55   #353
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

24·593 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
Edit: Here's an interesting side project: Find the smallest 1,000,000-digit base 10 PRIME; that is it must be proven prime. That would be tough...a lot of algebra to come up with a form that factors to 33% that is barely bigger than 10^999999.
One obvious route would be to test numbers of form
2*k*(3139*2^3321905-1)+-1
k should be around a few hundred, because 3139*2^3321905-1 has 999,997 digits. But of course, one will only get lucky after trying a few million k values, so it will be a bit overshot.
Batalov is offline   Reply With Quote
Old 2013-01-25, 03:34   #354
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

1040310 Posts
Default

Quote:
Originally Posted by Batalov View Post
One obvious route would be to test numbers of form
2*k*(3139*2^3321905-1)+-1
k should be around a few hundred, because 3139*2^3321905-1 has 999,997 digits. But of course, one will only get lucky after trying a few million k values, so it will be a bit overshot.
Perhaps the best approach would be to do a fixed-n search and vary k for the simpler forms k*2^3321925-1 and k*2^3321925+1. Once again, you'd overshoot by a few digits before finding a prime but I can't think of a faster approach. To keep getting closer and closer, you could keep lowering the n-values by 1 and start from a slightly higher k-value, i.e. k*2^3321924-1 and k*2^3321924+1 where k>2 or k*2^3321923-1 and k*2^3321923+1 where k>4. This would give you more possible tests at the exact 1,000,000 digit level.
gd_barnes is online now   Reply With Quote
Old 2013-01-25, 07:03   #355
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

224208 Posts
Default

And yet faster approach is to vary 2<=b<=2^20, 1<=k<=K, n~=log10b*999999-X in very narrow K limits (a few thousand, perhaps), with X a few digits below mega10digit limit. Child's play.
Batalov is offline   Reply With Quote
Old 2013-01-25, 07:20   #356
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101×103 Posts
Default

Quote:
Originally Posted by Batalov View Post
And yet faster approach is to vary 2<=b<=2^20, 1<=k<=K, n~=log10b*999999-X in very narrow K limits (a few thousand, perhaps), with X a few digits below mega10digit limit. Child's play.
Maybe it's child's play for you. :-)

BTW, is 10^999999+736939 the smallest 1,000,000-digit base 10 PRP that was found?
gd_barnes is online now   Reply With Quote
Old 2013-01-25, 07:25   #357
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

24·593 Posts
Default

of course not. That's a composite! ;-)



______________
1791777*2^3321904+1 is composite: RES64: [3EF30AB81F9A16F4] (16743.0616s+0.0004s)

Damn! A composite, too! (one of the smallest survivors in k*2^3321900+1 just-for-fun sieve).

One down, a few million more to go. ;-)

Last fiddled with by Batalov on 2013-01-25 at 23:40
Batalov is offline   Reply With Quote
Old 2013-01-25, 07:55   #358
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

23×419 Posts
Default

And who says that a composite can't be PRP base 10?
LaurV is offline   Reply With Quote
Old 2013-01-25, 08:06   #359
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101·103 Posts
Default

Quote:
Originally Posted by Batalov View Post
of course not. That's a composite! ;-)
Well...a quick sieve found no factors < 10G for 10^999999+736939 so it would have been very lucky for you to pull that number out of
your head unless you pulled it out of the sieve file from the effort, which I do not have available to me.

Edit: It looks like you would have had < 5% chance of pulling a random odd c-value for the form 10^999999+c and having it survive a sieve to 10G. :-)

Last fiddled with by gd_barnes on 2013-01-25 at 12:21 Reason: edit
gd_barnes is online now   Reply With Quote
Old 2013-01-25, 08:18   #360
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
"Mega" doesn't even necessarily mean million in some contexts. It means 2^20 or 1048576...and it's not a prime search; it's a PRP search...and it's base 10, which isn't clear either (it could have been base 2).
[pedantism]
Well... mega really does mean 10^6, being an SI prefix. Its use in the computer world to mean 2^20 is a side effect of the unfortunate (from this point of view) fact that 2^(x*10) ~ 10^(x*3), or equivalently that log210 ~ 3 (that is, approximately an integer). According to the International Electrotechnical Commission, the preferred prefix for 2^20 is mebi.

I completely agree on the PRP/prime thing; as for the base thing, in my book "digit" is pretty pretty unambiguously base ten. "bit" or "binary digit" would mean base 2; thus it would be best termed a megadigit PRP search (megaPRP is still rather ambiguous). Also note that originally the thread did refer to actual primes, but devolved to PRP only since that's the only practical thing at the moment.

[/pedantism]


Man, that homework must have really gotten to me
Dubslow is offline   Reply With Quote
Old 2013-03-18, 15:17   #361
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

68410 Posts
Default

R6 tested n=1300k to 1400k, no prime.
Attached Files
File Type: txt lre_R6_1300k-1400k.txt (164.9 KB, 103 views)
Puzzle-Peter is offline   Reply With Quote
Old 2014-01-09, 20:44   #362
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22·32·19 Posts
Default

Not very much going on here, so I'll take n=1400k to n=1500k.
Puzzle-Peter is offline   Reply With Quote
Old 2014-02-25, 22:08   #363
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22×32×19 Posts
Default

Quote:
Originally Posted by Puzzle-Peter View Post
Not very much going on here, so I'll take n=1400k to n=1500k.
Range finished, results emailed.
Puzzle-Peter is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Riesel base 16 - team drive #2 gd_barnes Conjectures 'R Us 213 2014-02-26 09:35
Sierp base 63 - team drive #5 rogue Conjectures 'R Us 146 2011-04-20 05:12
Sieving drive Riesel base 6 n=1M-2M gd_barnes Conjectures 'R Us 40 2011-01-22 08:10
Sieving drive Riesel base 6 n=150K-1M gd_barnes Conjectures 'R Us 27 2009-10-08 21:49
Riesel base 3 - mini-drive I gd_barnes Conjectures 'R Us 199 2009-09-30 18:44

All times are UTC. The time now is 10:02.


Tue Jul 27 10:02:06 UTC 2021 up 4 days, 4:31, 0 users, load averages: 1.73, 1.86, 1.90

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.