![]() |
|
|
#2289 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Code:
LLRM(X) = s=Mod(14,2^X-1);for(x=1,(X-3)/2,s=Mod(s^4,2^x-1)-4*Mod(s^2,2^X-1)+2);if(s==0,1,0) |
|
|
|
|
|
#2290 | |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Quote:
Code:
(16:16)>LLRM(3217) %40 = 1 (16:16)>## *** last result computed in 32 ms. (16:16)>lucaslehmer(3217) %41 = 1 (16:16)>## *** last result computed in 281 ms. (16:16)>LLRM(9689) %42 = 1 (16:17)>## *** last result computed in 485 ms. (16:17)>lucaslehmer(9689) %43 = 1 (16:17)>## *** last result computed in 4,922 ms. (16:17)>LLRM(21701) %44 = 1 (16:23)>## *** last result computed in 4,156 ms. (16:23)>lucaslehmer(21701) %45 = 1 (16:24)>## *** last result computed in 39,562 ms. Last fiddled with by science_man_88 on 2011-08-08 at 21:08 |
|
|
|
|
|
|
#2291 |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Pardon the question, but has anyone found the (1013)th prime? Or (1014)th prime?
I've only found up to 1012 Edit: Scratch that, found way more past 1013 and 1014. Last fiddled with by 3.14159 on 2011-08-12 at 15:28 |
|
|
|
|
|
#2292 |
|
Aug 2006
3×1,993 Posts |
prime(10^19) = 465675465116607065549.
|
|
|
|
|
|
#2293 |
|
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^
17478 Posts |
Last fiddled with by cmd on 2011-08-13 at 12:29 Reason: cf1234 |
|
|
|
|
|
#2294 | |
|
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^
33·37 Posts |
Quote:
|) |= |\/| () http://factordb.com/index.php?id=1100000000442493555 Demo=andiamo (venice~it)s|_ang Last fiddled with by cmd on 2011-08-13 at 14:13 Reason: |_= L |
|
|
|
|
|
|
#2295 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I can't figure which one it is I upgraded to the 64-bit windows OS disk I had ( the 32 and 64 are in the same packaging).
|
|
|
|
|
|
#2296 | |
|
Aug 2006
597910 Posts |
Quote:
There isn't a released 64-bit Windows version of PARI/GP that has readline and the other nice features yet; there are serious difficulties building it. For Windows, right-click My Computer and choose Properties; this should tell you what version you're using. (Of course this is off-topic here.) |
|
|
|
|
|
|
#2297 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
a few codes I've sent through PM:
Code:
ali(n)=a=n-1;b=[];for(x=0,floor(.5*a),if(x==0,if(sigma(a^2)-a^2==n,b=concat(b,a^2)),if(sigma((x)*(a-x))-((x)*(a-x))==n,b=concat(b,(x)*(a-x)))));b=vecsort(b,,8) Code:
for(z=6,6,print(z);for(x=1,#ali(z),print("\t"ali(z)[x]);for(y=1,#ali(ali(z)[x]),print("\t\t"ali(ali(z)[x])[y]);for(h=1,#ali(ali(z)[x])[y],print("\t\t\t"ali(ali(ali(z)[x])[y])[h]);for(i=1,#ali(ali(ali(z)[x])[y])[h],print("\t\t\t\t"ali(ali(ali(ali(z)[x])[y])[h])[i]))))))
the attachment has been scanned since I want to double check it, it represents most that I have tried with these codes. Last fiddled with by science_man_88 on 2011-09-05 at 01:38 |
|
|
|
|
|
#2298 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
Code:
aligen2(w,s)=c=[];for(z=w,s,for(h=1,#c,if(z==c[h],next(2)));print(z);for(x=1,#ali(z),if(ali(z)[x]<s&&ali(z)[x]>w,c=concat(c,ali(z)[x]));print("\t"ali(z)[x]);for(y=1,#ali(ali(z)[x]),print("\t\t"ali(ali(z)[x])[y]))))
Last fiddled with by science_man_88 on 2011-09-05 at 22:48 |
|
|
|
|
|
|
#2299 |
|
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
connecting the loose ends for aliquot3.txt gives me:
Code:
3 4 9 15 33 87 249 553 949 1273 247 1205 1673 3029 3893 4313 5129 9353 10229 11993 12629 13193 13529 13973 14453 14873 14933 Last fiddled with by science_man_88 on 2011-09-05 at 23:58 |
|
|
|
![]() |
| Thread Tools | |
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 |