login
A075359
Sum of the digits of the next n numbers.
1
1, 5, 15, 25, 20, 39, 49, 53, 72, 91, 113, 141, 160, 137, 102, 121, 161, 207, 253, 203, 168, 223, 290, 354, 202, 287, 369, 388, 293, 393, 502, 362, 444, 571, 440, 531, 649, 509, 672, 655, 659, 813, 670, 881, 441, 505, 473, 537, 556, 605, 633, 697, 692, 801
OFFSET
1,2
LINKS
FORMULA
a(n) = A037123(n*(n+1)/2)-A037123(n*(n-1)/2). - David Wasserman, Jan 16 2005
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
Cf. A037123.
Sequence in context: A029504 A354297 A066548 * A190971 A228806 A075336
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Sep 19 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
STATUS
approved