OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
a(5) = digit sum of 11,12,13,14 and 15 = 20.
MATHEMATICA
Total[Flatten[IntegerDigits/@#]]&/@With[{nn=60}, TakeList[Range[(nn(nn+1))/2], Range[ nn]]] (* Harvey P. Dale, Jul 11 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Sep 19 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
STATUS
approved
