login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287558 Positions of 1 in A287556. 5
2, 5, 11, 16, 17, 23, 28, 30, 36, 38, 41, 47, 51, 56, 58, 61, 65, 71, 76, 78, 84, 86, 89, 95, 99, 104, 106, 109, 114, 117, 123, 128, 131, 136, 138, 141, 146, 149, 155, 160, 161, 167, 172, 174, 180, 182, 185, 191, 196, 198, 201, 207, 211, 216, 218, 221, 226 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

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 2, 3, 1, 0, 3, 1, 0, 2, 0, 2, 3, 1, 1, 0, 2, 3, 3, 1, 0, 2, with

0 in positions given by A287559,

1 in positions given by A287560,

2 in positions given by A287557,

3 in positions given by A287558.

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..10000

MATHEMATICA

s = Nest[Flatten[# /. {0 -> {0, 1, 3, 2}, 1 -> {1, 3, 2, 0}, 2 -> {3, 2, 0, 1}, 3 -> {2, 0, 1, 3}}] &, {0}, 9];   (* A287556 *)

Flatten[Position[s, 0]]; (* A287557 *)

Flatten[Position[s, 1]]; (* A287558 *)

Flatten[Position[s, 2]]; (* A287559 *)

Flatten[Position[s, 3]]; (* A287560 *)

CROSSREFS

Cf. A287556, A287557, A287559, A287560.

Sequence in context: A238159 A080156 A082083 * A024917 A081402 A281023

Adjacent sequences:  A287555 A287556 A287557 * A287559 A287560 A287561

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 07:34 EST 2020. Contains 331241 sequences. (Running on oeis4.)