OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from T. D. Noe)
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
40 = phi(41) = phi(55) = phi(75) = phi(82) = phi(88) = phi(100) = phi(110) = phi(132) = phi(150).
MATHEMATICA
a = Table[ 0, {10000} ]; Do[ p = EulerPhi[ n ]; If[ p < 10001, a[ [ p ] ]++ ], {n, 1, 35000} ]; Select[ Range[ 10000 ], a[ [ # ] ] == 9 & ]
PROG
(PARI) is(n)=sum(i=1, n, eulerphi(i)==n)==9 \\ Charles R Greathouse IV, Mar 03 2014
(PARI) is(k) = invphiNum(k) == 9 \\ Amiram Eldar, Nov 17 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Apr 18 2001
STATUS
approved