OFFSET
1,2
COMMENTS
Any number that contains only nonprime digits, does not contain any substring that is prime, and is not itself a prime can never appear, e.g., 4, 6, 8, 9, 10, 14.
FORMULA
a(3) = 12 as a(2) = 2 and "12" is the smallest unused number to contain "2".
a(4) = 23 as a(3) = 12 = 2*2*3 and "23" is the smallest unused number to contain both "2" and "3".
a(7) = 311 as a(6) = 341 = 11*31 and "311" is the smallest unused number to contain both "11" and "31". This is the first term to contain overlapping factor strings.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Sep 06 2023
STATUS
approved