OFFSET
1,2
COMMENTS
Is a(n) > 0 for every n?
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..500
Rémy Sigrist, PARI program for A344487
EXAMPLE
For n = 15:
- the sum of digits of 15 is 6,
- so a(15) must be a multiple of 6,
- the sum of digits of 6 is 6, and 6 does not divide 15,
- the sum of digits of 12 is 3, and 3 divides 15,
- so a(15) = 12.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, May 21 2021
STATUS
approved