%I #24 Jan 01 2023 04:20:53
%S 2,5,7,13,23,29,31,37,47,53,61,71,79,101,103,109,127,149,151,157,167,
%T 173,181,191,197,199,223,229,239,263,269,271,277,293,311,317,349,359,
%U 367,373,383,389,397,421,431,439
%N Primes congruent to {2, 5, 7} mod 8.
%C Inert rational primes in the field Q(sqrt(-2)). - _Eyal Gruss_, Nov 30 2022
%H Ray Chandler, <a href="/A045355/b045355.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Vincenzo Librandi)
%F {2} UNION A003628. - _R. J. Mathar_, Sep 19 2012
%t Select[Prime[Range[800]],MemberQ[{2,5, 7},Mod[#,8]]&] (* _Vincenzo Librandi_, Aug 07 2012 *)
%o (Magma) [ p: p in PrimesUpTo(1000) | p mod 8 in {2, 5, 7} ]; // _Vincenzo Librandi_, Aug 07 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_