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
(Python)
from itertools import count, islice, combinations_with_replacement
def A023753_gen(): # generator of terms
yield 0
yield from (int(''.join(c), 12) for l in count(1) for c in combinations_with_replacement('123456789ab', l))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Change offset to 1 by Ray Chandler, Jan 06 2014
STATUS
approved
