OFFSET
1,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[0, 104], LessEqual@@IntegerDigits[#, 12]&] (* Ray Chandler, Jan 06 2014 *)
Select[Range[0, 120], Min[Differences[IntegerDigits[#, 12]]]>-1&] (* Harvey P. Dale, Jul 10 2023 *)
PROG
(PARI) is(n)=vecsort(n=digits(n, 12))==n
for(n=0, 2, forvec(d=vector(n, i, [1, 11]), print1(fromdigits(d, 12)", "), 1)) \\ M. F. Hasler, May 05 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Change offset to 1 by Ray Chandler, Jan 06 2014
STATUS
approved