OFFSET
1,4
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
MATHEMATICA
f[n_] := Module[{phi = EulerPhi[n], e}, e = IntegerExponent[phi, 2]; If[PrimeQ[phi/2^e], e, Nothing]]; Array[f, 300] (* Amiram Eldar, Jul 18 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 18 2001
EXTENSIONS
Name corrected by Amiram Eldar, Jul 18 2024
STATUS
approved