login
Primes of the form 23n+5.
2

%I #13 Sep 08 2022 08:45:16

%S 5,97,281,373,419,557,787,971,1063,1109,1201,1523,1753,2029,2213,2351,

%T 2719,2857,2903,3041,3271,3547,3593,3823,4007,4099,4283,4421,4513,

%U 4651,4789,4973,5387,5479,5801,5939,6353,6491,6997,7043,7411,7457,7549,7687

%N Primes of the form 23n+5.

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

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

%t Select[Table[23*n+5,{n,0,1500}],PrimeQ] (* _Vincenzo Librandi_, Jul 19 2012 *)

%o (Magma) [a: n in [0..400]|IsPrime(a) where a is 23*n+5 ]; // _Vincenzo Librandi_, Jul 19 2012

%Y Cf. A040984, A141908, A100201.

%K nonn,easy

%O 1,1

%A Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Feb 07 2005