OFFSET
0,2
LINKS
FORMULA
a(0) = 0, and for n > 0, a(n) = a(n-1) + A368992(n).
PROG
(PARI)
up_to = 65537;
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A336546(n) = { my(f=factor(n)); (sigma(n)==lcm(vector(#f~, k, sigma(f[k, 1]^f[k, 2])))); };
A368993list(up_to) = { my(v=vector(up_to), s=A368992(0)); for(i=1, up_to, s += A368992(i); v[i] = s); (v); };
v368993 = A368993list(up_to);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 11 2024
STATUS
approved