|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|