|
#1 |
"99(4^34019)99 palind"
Nov 2016
(P^81993)SZ base 36
25·5·23 Posts |
Code:
a(n)=if(n==0 || sigma(n)==2*n,0,a(sigma(n)-n)+1) you can try a(276), but .... Warning!!! Please do not try a(220) Last fiddled with by sweety439 on 2022-07-14 at 09:32 |
|
|
|
#2 |
"99(4^34019)99 palind"
Nov 2016
(P^81993)SZ base 36
25×5×23 Posts |
This PARI/GP program can print terms of https://oeis.org/A115350, and thus we may not write its b-file by hand:
Code:
a(n)=if(isprime(n) || sigma(n)==2*n || n==220 || n==1184 || n==2620 || n==5020 || n==6232 || n==10744 || n==12285 || n==17296 || n==63020 || n==66928 || n==67095 || n==69615 || n==79750 || n==12496 || n==14316, n, if(n>10^70, 0, a(sigma(n)-n))) Last fiddled with by sweety439 on 2022-07-18 at 16:56 |
|
|
|
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aliquot sequence reservations | schickel | Aliquot Sequences | 3729 | 2023-01-02 12:58 |
Useful aliquot-sequence links | 10metreh | Aliquot Sequences | 4 | 2021-10-28 22:17 |
Gaussian Aliquot Sequences? How to run in Pari/GP? | Stargate38 | Aliquot Sequences | 40 | 2019-11-30 11:14 |
Porting pari/gp routines into a C program?? | EdH | Programming | 17 | 2012-10-30 03:41 |
Another Aliquot Sequence site | schickel | Aliquot Sequences | 67 | 2012-01-20 17:53 |