OFFSET
0,3
COMMENTS
Terms are duplicated because phi(2*(2n+1)) = phi(2n+1) for all n >= 0.
LINKS
FORMULA
PROG
(PARI) A324650(n) = { my(i=0, m=1, pr=1, nextpr); while((n>0), i=i+1; nextpr = prime(i)*pr; if((n%nextpr), m *= (prime(i)-1)*(prime(i)^(((n%nextpr)/pr)-1)); n-=(n%nextpr)); pr=nextpr); (m); };
(PARI)
A276086(n) = { my(i=0, m=1, pr=1, nextpr); while((n>0), i=i+1; nextpr = prime(i)*pr; if((n%nextpr), m*=(prime(i)^((n%nextpr)/pr)); n-=(n%nextpr)); pr=nextpr); m; };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 10 2019
STATUS
approved