A066499 Numbers k such that phi(k) == 2 (mod 4).
3, 4, 6, 7, 9, 11, 14, 18, 19, 22, 23, 27, 31, 38, 43, 46, 47, 49, 54, 59, 62, 67, 71, 79, 81, 83, 86, 94, 98, 103, 107, 118, 121, 127, 131, 134, 139, 142, 151, 158, 162, 163, 166, 167, 179, 191, 199, 206, 211, 214, 223, 227, 239, 242, 243, 251, 254, 262, 263, 271
Offset: 1
Keywords
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
Crossrefs
Programs
-
Mathematica
Select[Range[300],Mod[EulerPhi[#],4]==2&] (* Harvey P. Dale, Feb 18 2018 *)
-
PARI
isok(k) = { eulerphi(k)%4 == 2 } \\ Harry J. Smith, Feb 18 2010
Extensions
Simpler definition from Lekraj Beedassy, Jul 21 2003
Corrected and extended by Ray Chandler, Nov 06 2003
Comments