|
Search: id:A111034
|
|
|
| A111034 |
|
Sum of squares of digits of e. |
|
+0 3
|
|
| 4, 53, 54, 118, 122, 186, 187, 251, 255, 319, 335, 360, 441, 441, 457, 482, 486, 495, 520, 529, 565, 565, 569, 633, 682, 698, 747, 748, 757, 782
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
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.
|
|
FORMULA
|
a(n) = sum(i=1 to n) A001113(i)^2.
|
|
EXAMPLE
|
a(1) = 2^2 = 4,
a(2) = 2^2 + 7^2 = 53, which is prime,
a(3) = 2^2 + 7^2 + 1^2 = 54,
a(4) = 2^2 + 7^2 + 1^2 + 8^2 = 118,
a(5) = 2^2 + 7^2 + 1^2 + 8^2 + 2^2 = 122.
|
|
CROSSREFS
|
Cf. A001113.
Sequence in context: A055974 A009671 A015001 this_sequence A109801 A099340 A095210
Adjacent sequences: A111031 A111032 A111033 this_sequence A111035 A111036 A111037
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Jonathan Vos Post (jvospost2(AT)yahoo.com), Oct 05 2005
|
|
|
Search completed in 0.002 seconds
|