login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A050986
Number of n-digit right-truncatable primes.
18
4, 9, 14, 16, 15, 12, 8, 5, 0
OFFSET
1,1
COMMENTS
Right-truncatable means that the integer part of successive divisions by 10 always yields primes (or zero). - M. F. Hasler, Nov 07 2018
PROG
(PARI) A050986=vector(9, n, #p=concat(apply(t->primes([t, t+1]*10), if(n>1, p)))) \\ M. F. Hasler, Nov 07 2018
KEYWORD
base,nonn,easy,fini,full
EXTENSIONS
Edited by Ray Chandler, Mar 13 2007
a(9) = 0 added by M. F. Hasler, Nov 07 2018
STATUS
approved