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.
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!)
A287578 Positions of 1 in A287576. 5
4, 5, 10, 15, 19, 24, 25, 30, 34, 39, 44, 45, 49, 54, 59, 64, 65, 70, 75, 80, 84, 85, 90, 95, 99, 104, 105, 110, 114, 119, 124, 125, 130, 135, 140, 141, 145, 150, 155, 160, 164, 165, 170, 175, 179, 184, 185, 190, 195, 200, 201, 206, 210, 215, 220, 221, 225 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,4,5} 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, 3, 2, 1, 1, 0, 3, 2, 2, 1, 0, 3, 3, 2, 1, 0, 3, 2, 1, 0, with
0 in positions given by A287577,
1 in positions given by A287578,
2 in positions given by A287579,
3 in positions given by A287580.
LINKS
FORMULA
a(n) = 4n - A287576(n) for n >= 1.
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 3, 2, 1}, 1 -> {3, 2, 1, 0}, 2 -> {2, 1, 0, 3}, 3 -> {1, 0, 3, 2}}] &, {0}, 9]; (* A287576 *)
Flatten[Position[s, 0]]; (* A287577 *)
Flatten[Position[s, 1]]; (* A287578 *)
Flatten[Position[s, 2]]; (* A287579 *)
Flatten[Position[s, 3]]; (* A287580 *)
CROSSREFS
Sequence in context: A002257 A101528 A119040 * A135104 A131780 A354968
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 01 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 09:54 EDT 2024. Contains 372620 sequences. (Running on oeis4.)