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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287398 Positions of 0 in A287397. 5
1, 6, 8, 11, 15, 16, 21, 22, 26, 30, 31, 35, 38, 42, 43, 46, 51, 53, 56, 60, 61, 64, 69, 71, 75, 76, 80, 83, 87, 88, 91, 96, 98, 102, 103, 107, 111, 112, 116, 119, 123, 124, 127, 132, 134, 136, 141, 143, 146, 150, 151, 156, 157, 161, 165, 166, 170, 173, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

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 2, 0, 1, 1, 0, 2, 0, 2, 1, 0, 2, 1, 1, 0, 2, 2, 0, 1, 1, 0, with 0 in positions given by A287399.

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->{1, 0, 2}}] &, {0}, 9]; (*A287397*)

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

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

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

CROSSREFS

Cf. A287397, A287399, A287400.

Sequence in context: A120152 A315855 A287408 * A167499 A020716 A020937

Adjacent sequences:  A287395 A287396 A287397 * A287399 A287400 A287401

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 June 17 17:12 EDT 2019. Contains 324196 sequences. (Running on oeis4.)