OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
sqrt(2)=1.41421356237... so the sums are 1, 1+4, 1+4+1, 1+4+1+4, 1+4+1+4+2,...
which gives 1, 5, 6, 10, 12,...
MATHEMATICA
Accumulate[RealDigits[Sqrt[2], 10, 60][[1]]] (* Harvey P. Dale, May 30 2012 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Oct 22 2004
STATUS
approved