OFFSET
1,1
COMMENTS
The sequence is finite. Proof: Each 6-digit number has at least 4 nonprime substrings, and each 4-digit number has at least 1 nonprime substring. Thus, each 10-digit number has at least 5 nonprime substrings. Consequently, there is a boundary b, such that all numbers >= b have more than 4 nonprime substrings.
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..653
EXAMPLE
a(1) = 103, since 103 has 4 nonprime substrings (0, 03, 1, 10).
a(653) = 373379, since there are 4 nonprime substrings (9, 33, 3379, 7337).
CROSSREFS
KEYWORD
nonn,fini,base
AUTHOR
Hieronymus Fischer, Aug 26 2012
STATUS
approved