OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 8 since row 5 of triangle A141803 = (1 + 2 + 3 + 2 + 0).
MATHEMATICA
Table[Total@Table[Mod[Total@IntegerDigits[n - i, i], i], {i, n - 1, 2, -1}], {n, 3, 60}] (* Ivan Neretin, Jun 18 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jul 06 2008
EXTENSIONS
More terms from Ivan Neretin, Jun 18 2018
STATUS
approved