The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A189637 Positions of 1 in A116178; complement of A189636. 5
 3, 6, 8, 9, 12, 15, 17, 18, 21, 23, 24, 26, 27, 30, 33, 35, 36, 39, 42, 44, 45, 48, 50, 51, 53, 54, 57, 60, 62, 63, 66, 68, 69, 71, 72, 75, 77, 78, 80, 81, 84, 87, 89, 90, 93, 96, 98, 99, 102, 104, 105, 107, 108, 111, 114, 116, 117, 120, 123, 125, 126, 129, 131, 132, 134, 135, 138, 141, 143, 144, 147, 149, 150, 152, 153, 156, 158, 159, 161, 162, 165, 168, 170, 171, 174 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS See A116178. LINKS Michael De Vlieger, Table of n, a(n) for n = 1..10000 F. M. Dekking, Permutations of N generated by left-right filling algorithms, arXiv:2001.08915 [math.CO], 2020. FORMULA A340407(a(n)) = A254046(a(n)). Discovered with help from sequencedb.net. - Thomas Scheuerle, Jun 20 2022 MATHEMATICA t = Nest[Flatten[# /. {0->{0, 0, 1}, 1->{0, 1, 1}}] &, {0}, 5] (* A116178 *) f[n_] := t[[n]] Flatten[Position[t, 0]] (* A189636 *) Flatten[Position[t, 1]] (* A189637 *) s[n_] := Sum[f[i], {i, 1, n}]; s[0] = 0; Table[s[n], {n, 1, 120}] (* A189638 *) CROSSREFS Cf. A116178, A189636, A189638, A254046, A340407. Sequence in context: A155723 A095277 A185717 * A182338 A267415 A140516 Adjacent sequences: A189634 A189635 A189636 * A189638 A189639 A189640 KEYWORD nonn AUTHOR Clark Kimberling, Apr 24 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.

Last modified May 20 08:57 EDT 2024. Contains 372710 sequences. (Running on oeis4.)