login
Prime numbers ending in the prime number 23.
2

%I #11 Sep 08 2022 08:46:08

%S 23,223,523,823,1123,1223,1423,1523,1723,1823,2423,3023,3323,3623,

%T 3823,3923,4423,4523,4723,5023,5323,5623,5923,6323,6823,7523,7723,

%U 7823,8123,8423,8623,8923,9323,9623,9923,10223,10723,11423,11923,12323,12823,12923

%N Prime numbers ending in the prime number 23.

%C Also primes of the form 100*n+23. Subsequence of A105854, A141945.

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

%t Select[Prime[Range[5, 6000]], Take[IntegerDigits[#], -2]=={2, 3} &]

%o (Magma) [n: n in PrimesUpTo(16000) | n mod 100 eq 23];

%o (PARI) select(x->(x % 100)==23, primes(2000)) \\ _Michel Marcus_, Jul 06 2014

%Y Cf. A105854, A141945.

%Y Cf. similar sequences listed in A244763.

%K nonn,base,easy

%O 1,1

%A _Vincenzo Librandi_, Jul 06 2014