cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A237601 Number of n-digit right-truncatable primes in base 16.

Original entry on oeis.org

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

Views

Author

Stanislav Sykora, Feb 15 2014

Keywords

Comments

See A237600 for a complete list of right-truncatable primes in base 16.

Examples

			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.
		

Crossrefs

Cf. A050986 (base 10), A237600, A237602.

Programs

  • 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

Formula

a(n) = 0 for n >= 15.