Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #15 Sep 08 2022 08:45:16
%S 5,31,83,109,239,317,421,499,577,733,811,863,941,967,1019,1097,1123,
%T 1201,1279,1409,1487,1669,1721,1747,1877,2111,2137,2267,2293,2371,
%U 2423,2579,2657,2683,2917,2969,3203,3229,3307,3359,3463,3541,3593,3671,3697
%N Primes of the form 13n+5.
%H Vincenzo Librandi, <a href="/A102732/b102732.txt">Table of n, a(n) for n = 1..1000</a>
%t lst={};Do[p=13*n+5;If[PrimeQ[p],AppendTo[lst,p]],{n,0,4*5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Jan 27 2009 *)
%t Select[Table[13n+5,{n,0,1000}],PrimeQ] (* _Vincenzo Librandi_, Aug 01 2012 *)
%o (Magma) [n: n in PrimesUpTo(3800) | IsDivisibleBy(n-5,13)]; // _Bruno Berselli_, Apr 05 2011
%o (Magma) [ a: n in [0..350] | IsPrime(a) where a is 13*n +5 ]; // _Vincenzo Librandi_, Apr 06 2011
%Y Cf. A144562. - _Vincenzo Librandi_, Jan 17 2009
%K nonn,easy
%O 1,1
%A Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Feb 07 2005