OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Join[{1}, EulerPhi /@ Select[Range[20000], AllTrue[Last /@ FactorInteger[#], #1 > 1 && OddQ[#1] &] &]]
PROG
(PARI) lista(max) = {my(f, ans); print1(1, ", "); for(k = 2, max, f = factor(k); ans = 1; for (i = 1, #f~, if (f[i, 2] == 1 || !(f[i, 2] % 2), ans = 0; break)); if(ans, print1(eulerphi(f), ", "))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Mar 22 2024
STATUS
approved