login
Primes congruent to 28 mod 29.
2

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

%S 173,347,463,521,811,1217,1913,2029,2087,2203,2377,2551,2609,2957,

%T 3769,3943,4001,4349,4523,4639,4813,4871,4987,5393,5683,5741,5857,

%U 6089,6263,6379,6553,6959,7307,7481,7829,8293,8467,8641,8699,9221,9337,9511,9743

%N Primes congruent to 28 mod 29.

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

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

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

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

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

%Y Cf. A000040, A141977, A141978.

%K nonn,easy

%O 1,1

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