OFFSET
0,1
COMMENTS
If there are only 5 Fermat primes (A019434), then a(n) = 32 for n > 31. - T. D. Noe, Jun 21 2012 [Corrected by Jeppe Stig Nielsen, Oct 02 2021.]
The first unknown term is a(8589934592) which depends on whether A000215(33) is composite or prime. - Jeppe Stig Nielsen, Oct 02 2021
LINKS
Jeppe Stig Nielsen, Table of n, a(n) for n = 0..1000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
R. D. Carmichael, On Euler's phi-function, Bull. Amer. Math. Soc. 13 (1907), 241-243.
R. D. Carmichael, Erratum: On Euler's phi-function, Bull. Amer. Math. Soc. 54 (1948), 1192.
R. D. Carmichael, Erratum: Erratum: On Euler's phi-function, Bull. Amer. Math. Soc. 55 (1949), 212.
Mathematics Stack Exchange, Empirical Observation on number of solutions to phi(n) = m.
Eric W. Weisstein, MathWorld: Fermat prime.
Wikipedia, Euler's totient function.
EXAMPLE
For n = 0, a(0) = 2 because phi(1) = phi(2) = 1.
For n = 5, invphi(32) gives 7 values as follows: phi({51,64,68,80,96,102,120}) = {32,32,32,32,32,32,32}.
MAPLE
with(numtheory):[seq(nops(invphi(2^i)), i=1..100)];
PROG
(PARI) a(n) = invphiNum(1 << n); \\ Amiram Eldar, Nov 15 2024 using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 11 2000
EXTENSIONS
Added a(0) and corrected a(31) - T. D. Noe, Jun 21 2012
Correction of a(31) reverted; true value is a(31) = 33. - Jeppe Stig Nielsen, Oct 02 2021
STATUS
approved