mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2010-08-26, 20:06   #914
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

32208 Posts
Default

Quote:
Originally Posted by CRGreathouse
I grant that there are people who would consider either reasonable. My statement holds for both definitions, and indeed a wider range on both sides.
Sieving efficiency doesn't improve much when one goes deeper than about 1012 or so.

Quote:
Originally Posted by CRGreathouse
If you're interested, go ahead. I'd rather spend the time looking up better estimates of the product (with or without the assumption of the RH).
It was merely a suggestion. I do not intend on doing so.

Last fiddled with by 3.14159 on 2010-08-26 at 20:07
3.14159 is offline   Reply With Quote
Old 2010-08-26, 20:08   #915
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Well, I sieved to 700M. Apparently, there are still a load of candidates left.
Code:
ff(x)=1/log(x)/exp(Euler)
s=ff(700e6);forprime(p=2,90,s*=p/(p-1));s
CRGreathouse is offline   Reply With Quote
Old 2010-08-26, 20:10   #916
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Sieving efficiency doesn't improve much when one goes deeper than about 1012 or so.
Code:
> ff(1e12)/ff(1e9)
%1 = 0.7500000000000000000000000000
so going to 1e12 only removes about a quarter of the candidates left at 1e9.
CRGreathouse is offline   Reply With Quote
Old 2010-08-26, 20:15   #917
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

110100100002 Posts
Default

Quote:
Originally Posted by CRGreathouse
Well, I sieved to 700M. Apparently, there are still a load of candidates left.
I was not making a reference to p(90); I was referring to 1621!2
3.14159 is offline   Reply With Quote
Old 2010-08-26, 20:27   #918
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
I was not making a reference to p(90); I was referring to 1621!2
In that case,
Code:
s=ff(700e6);forprime(p=2,1621,s*=p/(p-1));s
%1 = 0.3648162081214616551560298255
so about 5/8 of the candidates should be removed by sieving up to 700 million. To get to 2/3 you'd need 5 billion...
CRGreathouse is offline   Reply With Quote
Old 2010-08-26, 20:47   #919
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Well, I found a PRP somewhat soon: 12066 * 1621!2 + 1
3.14159 is offline   Reply With Quote
Old 2010-08-26, 21:58   #920
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Record project: k * 15670! + 1 (≈59k digits)

k-range: 100k to 330k.

Odds: 1 in 7880 with no sieving. With sieving to 1.5*109, about 1 in 3900 to 4500, assuming 1/2 of candidates are eliminated.

Sieving should take 5-10 minutes.

Last fiddled with by 3.14159 on 2010-08-26 at 21:58
3.14159 is offline   Reply With Quote
Old 2010-08-26, 22:20   #921
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

This is taking somewhat longer than I thought. I canceled and went for a smaller range after 33 minutes of nothing.

I'm going to settle between 50 and 100 million.

Last fiddled with by 3.14159 on 2010-08-26 at 22:30
3.14159 is offline   Reply With Quote
Old 2010-08-27, 00:35   #922
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Settled for 315 million, testing: The odds are about 1 in 3890. So I expect a prime in 3890 * 4 minutes, or 1556 minutes, or within 26 hours.
3.14159 is offline   Reply With Quote
Old 2010-08-27, 01:47   #923
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Okay: I sieved for k * 487890 + 1 and k * 12965680 + 1 (Correction, still sieving for the latter. Up to 193 billion)

Last fiddled with by 3.14159 on 2010-08-27 at 02:22
3.14159 is offline   Reply With Quote
Old 2010-08-27, 02:26   #924
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

I have an idea: Make a variant of vk which sieves for primes in em2, where em2 is the set of integers such that n * m + 1 is divisible by a user-specified number.

Let's make a description: em2 gives the liftmod for Mod(-1, x)/(n), where n is any integer, and where x is any integer coprime to n.

em2 gives the set of integers liftmod(Mod(-1, x)/(n)) + a*x.

a will be a user-specified range, and so will the x and n for em2.

It's basically a sieve that searches for prime cofactors of k * n + 1.

Ex: 17228365081076784548444895 * 400200 + 1 = 45569 * 455603 * 755617 * 7757609 * p523

Last fiddled with by 3.14159 on 2010-08-27 at 03:17
3.14159 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I sometimes see all the <> formatting commands when I quote or edit? cheesehead Forum Feedback 3 2013-05-25 12:56
Passing commands to PARI on Windows James Heinrich Software 2 2012-05-13 19:19
Ubiquity commands Mini-Geek Aliquot Sequences 1 2009-09-22 19:33
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22
Are these commands correct? jasong Linux 2 2007-10-18 23:40

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


Fri Aug 6 23:10:14 UTC 2021 up 14 days, 17:39, 1 user, load averages: 4.68, 4.11, 3.99

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.