|
|
|
|
0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 46, 46, 47, 48, 49, 51, 52, 55, 56, 60, 61, 66, 67, 73, 74, 81, 82, 90, 91, 100, 102, 102, 104, 105, 107, 109, 111, 114, 116, 120, 122, 127, 129, 135, 137, 144, 146, 154, 156, 165, 168, 168, 171, 172, 175, 177
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
PROG
|
(Haskell)
a054632 n = a054632_list !! n
a054632_list = scanl (+) 0 a007376_list
(Python)
from itertools import accumulate, count, islice
def A054632gen(): return accumulate(int(d) for n in count(0) for d in str(n))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|