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!)
A287568 Positions of 1 in A287566. 5
4, 6, 9, 15, 17, 23, 28, 30, 35, 40, 42, 45, 50, 53, 59, 64, 67, 72, 74, 77, 82, 85, 91, 96, 100, 102, 105, 111, 113, 119, 124, 126, 130, 133, 139, 144, 148, 150, 153, 159, 161, 167, 172, 174, 179, 184, 186, 189, 193, 199, 204, 206, 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} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1.  The first 20 numbers 4n - a(n) are 0, 2, 3, 1, 3, 1, 0, 2, 1, 0, 2, 3, 2, 3, 1, 0, 1, 0, 2, 3, with

0 in positions given by A287567,

1 in positions given by A287568,

2 in positions given by A287569,

3 in positions given by A287570.

LINKS

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

FORMULA

a(n) = 4n - A287566(n) for n >= 1.

MATHEMATICA

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

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

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

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

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

CROSSREFS

Cf. A287566, A287567, A287569, A287570.

Sequence in context: A137371 A179463 A086697 * A251728 A078443 A085751

Adjacent sequences:  A287565 A287566 A287567 * A287569 A287570 A287571

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 June 20 03:33 EDT 2021. Contains 345157 sequences. (Running on oeis4.)