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
32 = phi(51) = phi(64) = phi(68) = phi(80) = phi(96) = phi(102) = phi(120).
MATHEMATICA
a = Table[ 0, {8000} ]; Do[ p = EulerPhi[ n ]; If[ p < 8001, a[ [ p ] ]++ ], {n, 1, 25000} ]; Select[ Range[ 8000 ], a[ [ # ] ] == 7 & ]
PROG
(PARI) is(n)=sum(i=1, n, eulerphi(i)==n)==7 \\ Charles R Greathouse IV, Mar 03 2014
(PARI) is(k) = invphiNum(k) == 7 \\ Amiram Eldar, Nov 17 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Apr 18 2001
STATUS
approved