login
A237601
Number of n-digit right-truncatable primes in base 16.
11
6, 16, 37, 60, 74, 77, 63, 39, 22, 11, 5, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,1
COMMENTS
See A237600 for a complete list of right-truncatable primes in base 16.
FORMULA
a(n) = 0 for n >= 15.
EXAMPLE
a(2)=16 because there are 16 right truncatable hex numbers with two hex digits: 25,29,2B,2F,35,3B,3D,53,59,71,7F,B3,B5,BF,D3,DF.
PROG
(PARI) See the link (use GT_DivMod0 with arguments "isprime" for "property" and 16 for "b").
(PARI) A237601=vector(15, n, #p=concat(apply(t->primes([t, t+1]*16), if(n>1, p)))) \\ M. F. Hasler, Nov 07 2018
CROSSREFS
Cf. A050986 (base 10), A237600, A237602.
Sequence in context: A171373 A048487 A124699 * A372669 A064602 A360650
KEYWORD
nonn,base
AUTHOR
Stanislav Sykora, Feb 15 2014
STATUS
approved