A237602 Largest prime with n hexadecimal digits which is a right-truncatable prime in base 16.
13, 223, 3583, 57331, 916831, 14669299, 234708791, 3744723967, 59915583473, 958649335571, 14567880621971, 65540984520023, 1048655752320287, 16778492037124607
Offset: 1
Examples
The largest right-truncatable prime with 8 hex digits, written in hex notation, is DF33F3FF (in decimal, 3744723967).
Links
- Stanislav Sykora, PARI/GP scripts for genetic threads
Programs
-
PARI
See the link (use GT_DivMod0 with arguments "isprime" for "property" and 16 for "b").
-
PARI
A237602=vector(14, n, p=concat(apply(t->primes([t, t+1]*16), if(n>1,p)));p[#p]) \\ Only the largest term is needed, but we keep all of them since we don't know which will produce "successors". - M. F. Hasler, Nov 07 2018
Comments