

A195211


Number of 2s in the first 10^n entries of the generalized Kolakoski(2,3) sequence A071820.


1



1, 5, 51, 502, 4995, 49999, 499980, 4999995, 50000202, 499999731, 5000005565, 50000013114, 499999997503, 4999999971938, 49999999974390
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


LINKS

Table of n, a(n) for n=0..14.
J. Nilsson, A Space Efficient Algorithm for the Calculation of the Digit Distribution in the Kolakoski Sequence, arXiv preprint arXiv:1110.4228, 2011


EXAMPLE

The first entries of the Kolakoski(2,3) sequence, A071820, are 2233222333... From this we see that a(0)=1, since the first letter is 2, and a(1) = 5 since among the first 10 letters 5 of them are 2s.


PROG

(C) /* See A195206.  Ed Wynn, Jun 24 2014 */


CROSSREFS

Cf. A000002, A071820.
Sequence in context: A208997 A041043 A145641 * A106415 A212819 A088320
Adjacent sequences: A195208 A195209 A195210 * A195212 A195213 A195214


KEYWORD

nonn,more,changed


AUTHOR

Johan Nilsson, Sep 13 2011


EXTENSIONS

a(13)a(14) from Ed Wynn, Jun 24 2014


STATUS

approved



