![]() |
|
|
#1431 |
|
Aug 2006
3×1,993 Posts |
I don't think I believe that. If 276 is the first member, 396 is the second member, and 21374326697892540932 is the 100th member, what do you get for members 200, 300, 400, ..., 2000?
Last fiddled with by CRGreathouse on 2010-09-13 at 14:01 |
|
|
|
|
|
#1432 | |
|
Mar 2006
Germany
22×727 Posts |
Quote:
The index of the sequence Aliquot(276), so 12601 iterations? The first 100 iterations are here. Last fiddled with by kar_bon on 2010-09-13 at 14:03 |
|
|
|
|
|
|
#1433 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Code:
Aliquot(n)= v=vector(1,x,n);for(b=1,100,for(a=2,127,d=Alistep(v[a-1]);v=concat(v,d);if(d==n || d==1,break()));v[1]==v[#v]);print(v) *** last result computed in 11,437 ms. and no I didn't use debug though I've played around and found it has 20 levels. |
|
|
|
|
|
#1434 |
|
Aug 2006
3·1,993 Posts |
Code:
Alistep(n)=sigma(n)-n Aliquot(n)=my(v=vector(1,x,n),d);for(b=1,100,for(a=2,127,d=Alistep(v[a-1]);v=concat(v,d);if(d==n || d==1,break()));v[1]==v[#v]);v >Aliquot(10) %3 = [10, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1, 8, 7, 1] |
|
|
|
|
|
#1435 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
never mind I see your point dang. but I think this still goes to 127 by the looks of it before repeating higher than the 100 list kar_bon gave me a link to. Last fiddled with by science_man_88 on 2010-09-13 at 14:41 |
|
|
|
|
|
|
#1436 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
if it did the math correct these are the next ones:
Code:
23780027782003162628, 27022045182026917372, 29800418252165873732, 30868734601205564812, 30868743536688997492, 31506186871079789708, 33685079263470335092, 37869561159553616108, 44810700265393440532, 52967010256293285740, 77368308005658962068, 77526798761623418732, 81730869595023949972, 81812211224085690348, 174495211883566827540, 383889841278567188460, 851420485964196743700, 2133148752623068133100, 4920463122717210500628, 9659030418601945179372, 19140499834691254267668, 31900833057818757113004, 60928733769254068230996, 101554467127566656249004, 169306878754562576009556, 282178131257604293349484 |
|
|
|
|
|
#1437 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
never mind I didn't use my brain lol. how far would I have to go to find the 1 ot 276 ?
|
|
|
|
|
|
#1438 |
|
Aug 2006
3·1,993 Posts |
What do you want to find for each? The vector, the number of terms, the final prime, ...?
Last fiddled with by CRGreathouse on 2010-09-13 at 15:18 |
|
|
|
|
|
#1439 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
I want to figure the whole thing out Aliquot sequence n. but if I have to settle for it maybe when it repeats or is terminated.
Last fiddled with by science_man_88 on 2010-09-13 at 15:21 |
|
|
|
|
|
#1440 | |
|
Aug 2006
597910 Posts |
Quote:
Code:
vector(274,n,Aliquot(n+1)) Last fiddled with by CRGreathouse on 2010-09-13 at 15:32 |
|
|
|
|
|
|
#1441 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
Code:
if(d==n || d==1,break(2)) Last fiddled with by science_man_88 on 2010-09-13 at 15:47 Reason: forgot the 2 that should be in there lol. |
|
|
|
|
![]() |
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 |