![]() |
|
|
#1310 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
yeah on the kbb(a,x,m) idea I apparently forgot I was doing something in Pari and I didn't realize it even though by the time it gives it should of been at 3 in the morning when I was asleep this started.
a=1;for(m=1,10,for(x=1,m^m-1,kbb(a,x,m))) *** print1: user interrupt after 10h, 40mn, 54,500 ms. (13:11) gp > a=1;for(m=1,10,for(x=1,m^m-1,kbb(a,x,m))) oh and the highest I see in the last few lines before I stopped it: 65390961287 which is over 65 billion stand corrected: 98418329759 over 98 billion found. Last fiddled with by science_man_88 on 2010-09-02 at 16:32 |
|
|
|
|
|
#1311 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
I'm currently looking for a record k-b-b. (b = 28657), and that will also be the largest prime I ever found,.
(Expected digits: 127737)
Last fiddled with by 3.14159 on 2010-09-03 at 00:46 |
|
|
|
|
|
#1312 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
I have now commenced testing for k * 2328750 + 1 and k * 2865728657 + 1.
Here are the odds for each: For the base 2 search: 1 in 4283. For the base 28657 search: 1 in 5812. Time taken for each test: 3 minutes for base 2. Expected time for base 2 completion: Approx. 9 days. Expected time for base 28657 completion: .. 81 days. |
|
|
|
|
|
#1313 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
|
|
#1314 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Therefore, I will expect only one prime for each, in 9 and 81 days, respectively. |
|
|
|
|
|
|
#1315 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
I'll report back in November for b = 28657.
|
|
|
|
|
|
#1316 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Code:
(13:45) gp > ifprime(x,p)=if(isprime(x),p) %11 = (x,p)->if(isprime(x),p) (13:47) gp > ifprime(100,print(100)) 100 |
|
|
|
|
|
#1317 |
|
Jun 2003
10011110111112 Posts |
|
|
|
|
|
|
#1318 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
I should of known this by now lol thank you though in a way this is useless but it is useful in the fact that it could create shorter code when typing it in. as by the look of it it saves 10 characters I was also thinking of one where you can do a && part in the if I think I'll try that next.
|
|
|
|
|
|
#1319 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Code:
(14:28) gp > ifprime(p,u,s)=if(isprime(p) && eval(u), eval(s)) %42 = (p,u,s)->if(isprime(p)&&eval(u),eval(s)) (14:29) gp > ifprime(100,"p%9==1","print(100)") (14:29) gp > ifprime(101,"p%9==1","print(100)") (14:29) gp > ifprime(101,"p%9==2","print(100)") 100 (14:29) gp > ifprime(101,"p%9==2","print(p)") 101 |
|
|
|
|
|
#1320 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
![]() |
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 |