A067114 Let N = 24681012141618202224262830..., the concatenation of the even numbers. Then a(n) = sum of first n digits of N.
2, 6, 12, 20, 21, 21, 22, 24, 25, 29, 30, 36, 37, 45, 47, 47, 49, 51, 53, 57, 59, 65, 67, 75, 78, 78, 81, 83, 86, 90, 93, 99, 102, 110, 114, 114, 118, 120, 124, 128, 132, 138, 142, 150, 155, 155, 160, 162, 167, 171, 176, 182, 187, 195, 201, 201, 207, 209, 215, 219
Offset: 1
Examples
a(5) = 2+4+6+8+1 = 21.
Programs
-
Mathematica
Accumulate[Flatten[IntegerDigits/@Range[2,66,2]]] (* Harvey P. Dale, Nov 09 2011 *)
Extensions
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003