OFFSET
1,2
COMMENTS
All primes are in the sequence. 2 is the only even integer in the sequence.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
phi(35) = 24, 24 divides 35^2 -1 = 1224.
MATHEMATICA
Select[ Range[ 262], Mod[ #^2 - 1, EulerPhi[ # ]] == 0 &] (* Robert G. Wilson v, Sep 01 2004 *)
PROG
(PARI) is(n)=(n^2-1)%eulerphi(n)==0 \\ Charles R Greathouse IV, Feb 21 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 30 2004
EXTENSIONS
More terms from Robert G. Wilson v and John W. Layman, Sep 01 2004
STATUS
approved