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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111123 Number of 2's in n-th "Kolakoski" string defined in A054349. 0
1, 2, 2, 3, 5, 8, 11, 16, 25, 38, 57, 85, 127, 192, 289, 430, 644, 966, 1450, 2173, 3263, 4899, 7341, 11022, 16526, 24802, 37201, 55808, 83702, 125541, 188301, 282444, 423683, 635569, 953356, 1429969, 2144990, 3217454 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(1)+a(2)+...+a(n)=A042942(n+1)-1

First differences of the sequence A001083. [From Benoit Cloitre, Nov 07 2010]

MATHEMATICA

l = { (*terms in A042942*) }; For[i = 2, i <= Length[l], i++, Print[l[[i]] - l[[i - 1]]]]

CROSSREFS

Sequence in context: A267419 A076777 A240210 * A261091 A179523 A087729

Adjacent sequences:  A111120 A111121 A111122 * A111124 A111125 A111126

KEYWORD

more,nonn

AUTHOR

Benoit Cloitre, Oct 16 2005

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 February 15 16:25 EST 2019. Contains 320136 sequences. (Running on oeis4.)