# Greetings from The On-Line Encyclopedia of Integer Sequences! https://backiee.wasmer.app/https_oeis_org/ Search: id:a111034 Showing 1-1 of 1 %I A111034 #13 Aug 29 2025 20:54:59 %S A111034 4,53,54,118,122,186,187,251,255,319,335,360,441,441,457,482,486,495, %T A111034 520,529,565,565,569,633,682,698,747,748,757,782,786,822,858,862,878, %U A111034 959,1008,1057,1082,1131,1135,1151,1200,1200,1281,1290,1326,1407,1488,1569 %N A111034 Sum of squares of digits of e. %C A111034 a(n) is prime for n = 2, 8, 15, 23, 29, ... a(n) is semiprime for n = 1, 4, 5, 7, 10, 11, 16, 21, 22, 24, 26, ... a(n) is a perfect power for n = 1, 13, 14, 20, ... Coincidentally, a(20) = 529 = 23^2 = sum of squares of first 18 digits of Pi. %F A111034 a(n) = Sum_{i=1..n} A001113(i)^2. %e A111034 a(1) = 2^2 = 4, %e A111034 a(2) = 2^2 + 7^2 = 53, which is prime, %e A111034 a(3) = 2^2 + 7^2 + 1^2 = 54, %e A111034 a(4) = 2^2 + 7^2 + 1^2 + 8^2 = 118, %e A111034 a(5) = 2^2 + 7^2 + 1^2 + 8^2 + 2^2 = 122. %t A111034 Accumulate[RealDigits[E,10,50][[1]]^2] (* _Harvey P. Dale_, Apr 05 2011 *) %Y A111034 Cf. A001113. %K A111034 base,easy,nonn %O A111034 1,1 %A A111034 _Jonathan Vos Post_, Oct 05 2005 %E A111034 More terms from _Harvey P. Dale_, Apr 05 2011 %E A111034 More terms from _Jason Yuen_, Aug 29 2025 # Content is available under The OEIS End-User License Agreement: https://backiee.wasmer.app/https_oeis_org/LICENSE