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!)
A074277 Positions of occurrences of 1,1,2,1,2,2,1,1,2 in the Kolakoski sequence A000002. 3
22, 115, 184, 220, 238, 265, 381, 438, 481, 557, 584, 602, 629, 683, 752, 779, 806, 848, 866, 967, 1036, 1072, 1090, 1117, 1179, 1232, 1259, 1334, 1379, 1460, 1487, 1514, 1541, 1714, 1789, 1870, 2050, 2077, 2104, 2131, 2149, 2176, 2250, 2291, 2348, 2391 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a2 = {1, 2, 2}; Do[a2 = Join[a2, {1 + Mod[n - 1, 2]}], {n, 3, 2000}, {i, 1, a2[[n]]}]; a2 //. {a___, 1, 1, 2, 1, 2, 2, 1, 1, 2, b___} :> {a, 0, 1, 2, 1, 2, 2, 1, 1, 2, b} // Flatten // Position[#, 0] & // Flatten (* Jean-François Alcover, Jun 18 2013 *)
CROSSREFS
Sequence in context: A079466 A217086 A079676 * A299580 A289350 A100930
KEYWORD
nonn,easy
AUTHOR
Jon Perry, Sep 21 2002
EXTENSIONS
Extended and offset corrected 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 April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)