login
Primes congruent to 12 mod 23.
1

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

%S 127,173,311,449,541,587,863,1093,1231,1277,1553,1783,2243,2381,2473,

%T 2657,2749,2887,3163,3209,3301,3347,3623,3761,3853,4129,4451,4957,

%U 5003,5233,5279,5417,5647,5693,5923,6199,6337,6521,6659,7027,7211,7349,7487,7717

%N Primes congruent to 12 mod 23.

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

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

%t Select[Range[12,10000,23],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 05 2011 *)

%t Select[Prime[Range[1000]],Mod[#,23]==12&] (* _Harvey P. Dale_, Oct 23 2020 *)

%o (Magma) [p: p in PrimesUpTo(8000) | p mod 23 eq 12 ]; // _Vincenzo Librandi_, Aug 16 2012

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

%Y Cf. A000040, A040984, A141908, A100201.

%K nonn,easy

%O 1,1

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