|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
See A237600 for a complete list of right-truncatable primes in base 16.
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|