login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074262 Positions of '11' in Kolakoski sequence A000002. 4
4, 13, 16, 22, 28, 31, 40, 48, 51, 58, 67, 70, 78, 85, 94, 97, 103, 112, 115, 121, 124, 130, 133, 140, 148, 157, 160, 167, 175, 178, 184, 190, 193, 201, 208, 217, 220, 226, 229, 238, 244, 247, 253, 256, 265, 271, 274, 283, 291, 294, 303, 310, 319, 322, 328 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Nathaniel Johnston, Table of n, a(n) for n = 1..10000

EXAMPLE

Kolakoski sequence begins 1,2,2,1,1,2,1,2,2,1,2,2,1,1,... so 4 and 13 are in this sequence.

MATHEMATICA

a2 = {1, 2, 2}; Do[ a2 = Join[a2, {1 + Mod[n - 1, 2]}], {n, 3, 300}, {i, 1, a2[[n]]}]; Split[a2] /. {1, 1} -> {0, 1} // Flatten // Position[#, 0]& // Flatten (* Jean-François Alcover, Jun 18 2013 *)

CROSSREFS

Cf. A074263.

Sequence in context: A287361 A165336 A031181 * A297363 A031208 A228137

Adjacent sequences: A074259 A074260 A074261 * A074263 A074264 A074265

KEYWORD

nonn,easy

AUTHOR

Jon Perry, Sep 20 2002

EXTENSIONS

Extended and offset changed by Nathaniel Johnston, May 02 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 30 02:01 EDT 2023. Contains 361599 sequences. (Running on oeis4.)