A195211 Number of 2s in the first 10^n entries of the generalized Kolakoski-(2,3) sequence A071820.
1, 5, 51, 502, 4995, 49999, 499980, 4999995, 50000202, 499999731, 5000005565, 50000013114, 499999997503, 4999999971938, 49999999974390, 499999999976909, 4999999999414101, 50000000022964476, 500000000029433861, 4999999999986496894
Offset: 0
Keywords
Examples
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.
Links
- J. Nilsson, A Space Efficient Algorithm for the Calculation of the Digit Distribution in the Kolakoski Sequence, arXiv preprint arXiv:1110.4228 [math.CO], 2011, J. Int. Seq. 15 (2012) #12.6.7
Extensions
a(13)-a(14) from Ed Wynn, Jun 24 2014
a(15)-a(19) from Hiroaki Yamanouchi, Jul 25 2017