OFFSET
1,1
EXAMPLE
256 = 100_(16) is a term because 100 has a run of two zeros, and two is prime. 258 = 102_(16) is not a term, because its only run of zeros is of length 1, which is not prime.
MATHEMATICA
Select[Range@ 7168, Select[Split@ IntegerDigits[#, 16], #[[1]] == 0 && PrimeQ@ Length@ # &] != {} &] (* Giovanni Resta, Jul 16 2019 *)
PROG
(Python)
from re import split
from sympy import isprime
seq_list, n = [], 1
while len(seq_list) < 10000:
for d in split('[1-9]+|[a-f]+', format(n, 'x')):
if isprime(len(d)):
seq_list.append(n)
n += 1
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
W. Zane Billings, Jul 11 2019
STATUS
approved