OFFSET
1,1
COMMENTS
Related to the equation x^4 = 1 (mod y): sequence gives values of n such x^4 = 1 (mod n) has no solution 1 < x < n-1.
k is of the form p^m or 2*p^m where p is A002145 (with the exception of a(2)=4).
All prime numbers here belong also to A002145, prime numbers of the form 4n+3. - Enrique Pérez Herrero, Sep 07 2011
REFERENCES
W. J. LeVeque, Fundamentals of Number Theory, pp. 57 Problem 15, Dover NY 1996.
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[300], Mod[EulerPhi[#], 4]==2&] (* Harvey P. Dale, Feb 18 2018 *)
PROG
(PARI) isok(k) = { eulerphi(k)%4 == 2 } \\ Harry J. Smith, Feb 18 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jan 04 2002
EXTENSIONS
Simpler definition from Lekraj Beedassy, Jul 21 2003
Corrected and extended by Ray Chandler, Nov 06 2003
STATUS
approved