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!)
A287413 Positions of 1 in A287411. 5
2, 4, 9, 10, 15, 17, 20, 24, 25, 28, 33, 35, 38, 42, 43, 47, 49, 54, 56, 58, 63, 65, 69, 70, 73, 78, 80, 82, 87, 89, 92, 96, 97, 101, 103, 108, 110, 112, 117, 119, 123, 124, 127, 132, 134, 137, 139, 144, 145, 150, 152, 155, 159, 160, 164, 166, 171, 172, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1, 2, 3, 4, 5} for n >= 1; also, 3n - a(n) is in {0, 1, 2} for n >= 1. The first 20 numbers 3n - a(n) are 1, 2, 0, 2, 0, 1, 1, 0, 2, 2, 0, 1, 1, 0, 2, 1, 2, 0, 1, 2, with 0 in positions given by A287414.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 2, 0}, 2->{0, 2, 1}}] &, {0}, 9]; (*A287411*)
Flatten[Position[s, 0]]; (*A287412*)
Flatten[Position[s, 1]]; (*A287413*)
Flatten[Position[s, 2]]; (*A287414*)
CROSSREFS
Sequence in context: A191766 A287518 A287526 * A026602 A287436 A103078
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 25 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 31 23:52 EDT 2024. Contains 373008 sequences. (Running on oeis4.)