login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287386 Positions of 0 in A287385. 4
1, 6, 7, 10, 15, 16, 19, 22, 27, 28, 31, 36, 37, 42, 43, 46, 51, 52, 55, 60, 61, 64, 67, 72, 73, 78, 79, 82, 87, 88, 91, 94, 99, 100, 105, 106, 109, 112, 117, 118, 123, 124, 127, 132, 133, 136, 141, 142, 145, 150, 151, 154, 157, 162, 163, 168, 169, 172, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) - a(n-1) is in {1,3,5} for n >= 1; also, 3n - a(n) is in {0,2} for n >= 1.  The first 20 numbers 3n - a(n) are 2, 0, 2, 2, 0, 2, 2, 2, 0, 2, 2, 0, 2, 0, 2, 2, 0, 2, 2, 0, with 0 in positions given by A287387.

LINKS

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

MATHEMATICA

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

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

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

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

CROSSREFS

Cf. A287385, A287387, A287388.

Sequence in context: A101972 A102727 A315831 * A287803 A216348 A114949

Adjacent sequences:  A287383 A287384 A287385 * A287387 A287388 A287389

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 7 17:41 EST 2019. Contains 329847 sequences. (Running on oeis4.)