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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A287562 Positions of 0 in A287561. 6
 1, 7, 12, 14, 20, 22, 25, 31, 35, 40, 42, 45, 50, 53, 59, 64, 67, 72, 74, 77, 82, 85, 91, 96, 97, 103, 108, 110, 116, 118, 121, 127, 132, 134, 137, 143, 147, 152, 154, 157, 162, 165, 171, 176, 177, 183, 188, 190, 194, 197, 203, 208, 209, 215, 220, 222, 228 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(n) - a(n-1) is in {1,2,3,4,5,6,7} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1. The first 20 numbers 4n - a(n) are 3, 1, 0, 2, 0, 2, 3, 1, 1, 0, 2, 3, 2, 3, 1, 0, 1, 0, 2, 3, with 0 in positions given by A287563, 1 in positions given by A287564, 2 in positions given by A287565, 3 in positions given by A287562. LINKS Clark Kimberling, Table of n, a(n) for n = 1..10000 MATHEMATICA s = Nest[Flatten[# /. {0 -> {0, 2, 1, 3}, 1 -> {2, 1, 3, 0}, 2 -> {1, 3, 0, 2}, 3 -> {3, 0, 2, 1}}] &, {0}, 9]; (* A287561 *) Flatten[Position[s, 0]]; (* A287562 *) Flatten[Position[s, 1]]; (* A287563 *) Flatten[Position[s, 2]]; (* A287564 *) Flatten[Position[s, 3]]; (* A287565 *) CROSSREFS Cf. A287561, A287563, A287564, A287565. Sequence in context: A153245 A317670 A062730 * A341092 A351474 A349854 Adjacent sequences: A287559 A287560 A287561 * A287563 A287564 A287565 KEYWORD nonn,easy AUTHOR Clark Kimberling, May 31 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 10 01:04 EDT 2024. Contains 375769 sequences. (Running on oeis4.)