OFFSET
1,1
COMMENTS
The sequence is finite. Proof: Each 8-digit number has at least 10 nonprime substrings. Thus, each number with more than 8 digits has >= 10 nonprime substrings, too. Consequently, there is a boundary b<10^7, such that all numbers > b have more than 8 nonprime substrings.
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..7483
EXAMPLE
a(1)=1011, since 1011 has 8 nonprime substrings (0, 1, 1, 1, 01, 10, 011, 1011).
a(7483)= 8313733 since there are 8 nonprime substrings (1, 8, 33, 831, 8313, 13733, 31373, 313733).
CROSSREFS
KEYWORD
nonn,fini,base
AUTHOR
Hieronymus Fischer, Aug 26 2012
STATUS
approved
