OFFSET
1,1
COMMENTS
Sequence consists of only 0's, 2's and 4's.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
phi(k) = 4*1+2 has 4 solutions (k = 7, 9, 14, 18), so a(1) = 4.
PROG
(PARI) a(n) = invphiNum(4*n+2); \\ Amiram Eldar, Nov 05 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved