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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287414 Positions of 2 in A287411. 5
3, 5, 8, 11, 14, 18, 21, 23, 26, 29, 32, 36, 39, 41, 44, 48, 50, 53, 57, 59, 62, 66, 68, 71, 74, 77, 81, 83, 86, 90, 93, 95, 98, 102, 104, 107, 111, 113, 116, 120, 122, 125, 128, 131, 135, 138, 140, 143, 146, 149, 153, 156, 158, 161, 165, 167, 170, 173, 176 (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, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, with 0 in positions given by A287412.

LINKS

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

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

Cf. A287411, A287412, A287413.

Sequence in context: A006591 A310027 A310028 * A052488 A076372 A248611

Adjacent sequences:  A287411 A287412 A287413 * A287415 A287416 A287417

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 15 01:20 EST 2018. Contains 318141 sequences. (Running on oeis4.)