login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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, 499999999976909, 4999999999414101, 50000000022964476, 500000000029433861, 4999999999986496894 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..19.

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

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: A041043 A145641 A317782 * A106415 A212819 A088320

Adjacent sequences:  A195208 A195209 A195210 * A195212 A195213 A195214

KEYWORD

nonn

AUTHOR

Johan Nilsson, Sep 13 2011

EXTENSIONS

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

a(15)-a(19) from Hiroaki Yamanouchi, Jul 25 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 16:24 EST 2019. Contains 329808 sequences. (Running on oeis4.)