login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111054
Sum of squares of digits of decimal expansion of square root of 2.
0
1, 17, 18, 34, 38, 39, 48, 73, 109, 113, 122, 171, 180, 180, 261, 286, 286, 302, 366, 430, 430, 431, 467, 531, 595, 644, 648, 664, 668, 668, 749, 785, 866, 930, 930, 979, 1043, 1068, 1104, 1185, 1221, 1270, 1271, 1335, 1384, 1409, 1418, 1467, 1503, 1584
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