

A111102


Cumulative sum of squares of Kolakoski sequence (A000002).


0



1, 5, 9, 10, 11, 15, 16, 20, 24, 25, 29, 33, 34, 35, 39, 40, 41, 45, 49, 50, 54, 55, 56, 60, 61, 65, 69, 70, 71, 75, 76, 77, 81, 82, 86, 90, 91, 95, 99, 100, 101, 105, 106, 110, 114, 115, 119, 120, 121, 125, 126, 127, 131, 135, 136, 140, 144, 145, 146, 150, 151, 155, 159, 160, 164, 168, 169, 170, 174
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

a(n) is prime for n = 2, 5, 11, 17, 25, 29. a(n) is semiprime for n = 3, 4, 6, 10, 12, 13, 14, 15, 19, 22, 26, 27. a(n) is a perfect square for n = 1, 3, 7, 10, 19.


LINKS

Table of n, a(n) for n=1..69.


FORMULA

a(n) = Sum[from i to n] A000002(i)^2. a(n) = Sum[from i to n] A000002(i)^A000002(i).


CROSSREFS

Cf. A000002.
Sequence in context: A094695 A268412 A043682 * A139456 A195684 A135980
Adjacent sequences: A111099 A111100 A111101 * A111103 A111104 A111105


KEYWORD

easy,nonn


AUTHOR

Jonathan Vos Post, Oct 13 2005


STATUS

approved



