OFFSET
0,21
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..16384
PROG
(PARI)
up_to = 1024;
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A354989(n) = for(m=1, oo, if((m*(m+1))%n==0, return(gcd(n, 1+m)<gcd(n, m))));
A368700list(up_to) = { my(v=vector(up_to), s=A368699(0)); for(i=1, up_to, s += A368699(i); v[i] = s); (v); };
v368700 = A368700list(up_to);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 11 2024
STATUS
approved