OFFSET
1,1
COMMENTS
Numbers k not being powers of 3 such that x^2 + x + 1 (or x^2 - x + 1) is reducible over GF(k). - Jianing Song, Sep 24 2019
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Cyclotomic Graph
MATHEMATICA
Select[ Range[4, 500], (Mod[#, 3] == 1 && Mod[#, # - EulerPhi[#]] == 0)& ] (* Jean-François Alcover, Oct 26 2012 *)
PROG
(PARI) isok(n) = isprimepower(n) && ((n % 3) == 1); \\ Michel Marcus, Sep 24 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 12 2008
STATUS
approved