OFFSET
1,2
COMMENTS
The sequence is finite. Proof: Each 5-digit number has at least 2 nonprime substrings. Thus, each number with more than 5 digits has >= 2 nonprime substrings, too. Consequently, there is a boundary b<10^4, such that all numbers > b have at least 2 nonprime substrings.
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..51
EXAMPLE
a(1)=1, since 1 has one nonprime substring.
a(51)=3797, since the only nonprime substring of 3797 is 9.
CROSSREFS
KEYWORD
nonn,fini,base
AUTHOR
Hieronymus Fischer, Aug 26 2012
STATUS
approved