OFFSET
1,2
COMMENTS
Should this sequence start with 0 instead of 1 then it would be A011540.
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (adapted from A011540)
EXAMPLE
The next term after 1 is 10 as the smallest digit of 1 is 1 and 10 is the smallest number containing 1. - David A. Corneth, May 21 2026
PROG
(PARI) is(n) = if(n <= 1, return(n)); my(d = digits(n)); vecmin(d) == 0 \\ David A. Corneth, May 21 2026
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Eric Angelini, Oct 26 2004
STATUS
approved
