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!)
A287421 Positions of 2 in A287418. 5
3, 5, 9, 11, 15, 18, 20, 24, 27, 29, 33, 36, 38, 42, 45, 48, 50, 54, 56, 60, 63, 66, 68, 72, 74, 78, 81, 83, 87, 90, 92, 96, 99, 102, 104, 108, 110, 114, 117, 120, 122, 126, 128, 132, 135, 138, 140, 144, 146, 150, 153, 155, 159, 162, 164, 168, 171, 173, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {2,3,4} for n >= 1; also, 3n - a(n) is in {0, 1} for n >= 1. The first 20 numbers 3n - a(n) are 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, with 1 in positions given by A287420.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 2, 0}, 2->{1, 0, 2}}] &, {0}, 9]; (*A287418*)
Flatten[Position[s, 0]]; (*A287419*)
Flatten[Position[s, 1]]; (*A287420*)
Flatten[Position[s, 2]]; (*A287421*)
CROSSREFS
Sequence in context: A166699 A191110 A178443 * A214214 A281505 A052092
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 26 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 April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)