login
Smallest n-digit right-truncatable prime.
4

%I #18 Feb 26 2024 01:58:54

%S 2,23,233,2333,23333,233993,2339933,23399339

%N Smallest n-digit right-truncatable prime.

%C Agrees with A088603 for 8 terms, but this sequence ends there while A088603 continues.

%C Right-truncatable means that the integer part of successive divisions by 10 always yields primes (or zero). - _M. F. Hasler_, Nov 07 2018

%H I. O. Angell and H. J. Godwin, <a href="http://dx.doi.org/10.1090/S0025-5718-1977-0427213-2">On Truncatable Primes</a>, Math. Comput. 31, 265-267, 1977.

%H <a href="/index/Tri#tprime">Index entries for sequences related to truncatable primes</a>

%o (PARI) A127889=vector(8, n, p=concat(apply(t->primes([t, t+1]*10), if(n>1, p))); p[1]) \\ _M. F. Hasler_, Nov 07 2018

%Y Cf. A024770, A050986, A088603, A127890.

%K base,nonn,fini,full

%O 1,1

%A _Ray Chandler_, Feb 04 2007