OFFSET
1,2
LINKS
Accumulate[RealDigits[Sqrt[2],10,50][[1]]^2] (* James C. McMahon, Apr 30 2024 *)
FORMULA
a(n) = Sum_{i=1..n} A002193(i)^2.
EXAMPLE
a(1) = 1^2 = 1,
a(2) = 1^2 + 4^2 = 17,
a(3) = 1^2 + 4^2 + 1^2 = 18,
a(4) = 1^2 + 4^2 + 1^2 + 4^2 = 36,
a(10) = 1^2 + 4^2 + 1^2 + 4^2 + 2^2 + 1^2 + 3^2 + 5^2 + 6^2 + 2^2 = 113.
CROSSREFS
KEYWORD
base,easy,nonn,less
AUTHOR
Jonathan Vos Post, Oct 06 2005
STATUS
approved