login
Primes congruent to 2 mod 29.
26

%I #20 Sep 08 2022 08:45:35

%S 2,31,89,263,379,727,1249,1307,1423,1481,1597,2003,2293,2351,2467,

%T 2699,3163,3221,3511,3917,4091,4729,4787,4903,5077,5309,5483,5657,

%U 6121,6353,6469,6701,6991,7687,7919,8093,8209,8731,8963,9137,9311,9601,9833,9949

%N Primes congruent to 2 mod 29.

%H Vincenzo Librandi, <a href="/A141978/b141978.txt">Table of n, a(n) for n = 1..1000</a>

%F {2} UNION A142715. - _R. J. Mathar_, Jul 20 2008

%t Select[Range[2,20000,29],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 06 2011 *)

%o (Magma) [ p: p in PrimesUpTo(11000) | p mod 29 eq 2 ]; // _Vincenzo Librandi_, Apr 07 2011

%o (PARI) is(n)=isprime(n) && n%29==2 \\ _Charles R Greathouse IV_, Jul 01 2016

%Y Cf. A000040, A141977.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008