%I #22 Sep 08 2022 08:44:56
%S 2,17,41,73,89,97,113,137,193,233,241,257,281,313,337,353,401,409,433,
%T 449,457,521,569,577,593,601,617,641,673,761,769,809,857,881,929,937,
%U 953,977,1009,1033,1049,1097,1129
%N Primes congruent to {1, 2} mod 8.
%C Essentially the same as A007519: 2 followed by A007519.
%C Primes p such that -1 is a 4th power (mod p). E.g.: 1^4 == -1 (mod 2), 2^4 == -1 (mod 17), 3^4 == -1 (mod 41), 10^4 == -1 (mod 73). - _Eric M. Schmidt_, Mar 27 2014
%H Ray Chandler, <a href="/A045390/b045390.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Vincenzo Librandi)
%t Select[Prime[Range[300]],MemberQ[{1,2},Mod[#,8]]&] (* _Vincenzo Librandi_, Aug 11 2012 *)
%o (Magma) [p: p in PrimesUpTo(1300) | p mod 8 in [1, 2]]; // _Vincenzo Librandi_, Aug 11 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
|