OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program
EXAMPLE
The first terms are:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 19, 18, 28, 17, 11, 26, 37, 16, 29, 20
The corresponding digitsums are:
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 10, 9, 10, 8, 2, 8, 10, 7, 11, 2
Keeping only the nonzero digits we obtain:
12345678911918281711263716292
and 123456789119182817112.
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 06 2025
STATUS
approved