login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 18 mod 29.
1

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

%S 47,163,337,569,743,859,1033,1091,1381,1439,1613,1787,2251,2309,2657,

%T 3121,3469,3527,3643,3701,4049,4339,4397,4513,4861,4919,5209,5441,

%U 5557,6079,6311,6427,6659,6833,6949,7297,7529,7703,7877,7993,8167,8573,8689,8747

%N Primes congruent to 18 mod 29.

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

%F a(n) ~ 28n log n. - _Charles R Greathouse IV_, Jul 03 2016

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

%o (Magma) [p: p in PrimesUpTo(12000) | p mod 29 eq 18 ]; // _Vincenzo Librandi_, Aug 17 2012

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

%Y Cf. A000040, A141977, A141978.

%K nonn,easy

%O 1,1

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