[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A104354
Euler's totient of A104350(n).
1
1, 1, 2, 4, 16, 48, 288, 576, 1728, 8640, 86400, 259200, 3110400, 21772800, 108864000, 217728000, 3483648000, 10450944000, 188116992000, 940584960000, 6584094720000, 72425041920000, 1593350922240000, 4780052766720000, 23900263833600000, 310703429836800000
OFFSET
1,3
FORMULA
a(n) = A000010(A104350(n)).
MATHEMATICA
EulerPhi[FoldList[Times, Array[FactorInteger[#][[-1, 1]] &, 30]]] (* Amiram Eldar, Apr 08 2024 *)
PROG
(PARI) gpf(n) = my(f=factor(n)[, 1]); f[#f];
a(n) = eulerphi(prod(i=2, n, gpf(i))); \\ Michel Marcus, Nov 12 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 06 2005
EXTENSIONS
a(1) prepended by Michel Marcus, Nov 12 2023
STATUS
approved