Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #27 Sep 08 2022 08:44:56
%S 5,19,47,61,89,103,131,173,229,257,271,313,383,397,439,467,509,523,
%T 593,607,677,691,719,733,761,859,887,929,971,1013,1069,1097,1153,1181,
%U 1223,1237,1279,1307,1321,1433,1447,1489,1531,1559,1601,1657,1699,1741,1783
%N Primes congruent to 5 mod 7.
%C Subsequence of A017041. - _Michel Marcus_, May 06 2014
%H Vincenzo Librandi, <a href="/A045458/b045458.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Range[5, 50000, 7], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 13 2011 *)
%o (Magma) [ p: p in PrimesUpTo(11000) | p mod 7 eq 5 ]; // _Vincenzo Librandi_, Aug 13 2012
%o (PARI) is(n)=isprime(n) && n%7==5 \\ _Charles R Greathouse IV_, Jul 01 2016
%Y Cf. A045320 (complement), A017041, A045471, A045473.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_