OFFSET
1,1
COMMENTS
Numbers x such that x^4 = 4 has a solution mod p.
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{1, 2, 3, 7}, Mod[#, 8]]&] (* Vincenzo Librandi, Aug 07 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(400) | p mod 8 in {1, 2, 3, 7} ]; // Vincenzo Librandi, Aug 07 2012
(Haskell)
a045323 n = a045323_list !! (n-1)
a045323_list = filter ((== 1). a010051) a004776_list
-- Reinhard Zumkeller, Aug 17 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved