OFFSET
1,1
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@Range[n]]]+1, {n, 20}] (* Harvey P. Dale, Dec 20 2022 *)
PROG
(Python)
def a(n): return int("".join(map(str, range(1, n+1)))) + 1
print([a(n) for n in range(1, 20)]) # Michael S. Branicky, Dec 20 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 20 2022
STATUS
approved