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!)
A287517 Positions of 0 in A287516. 4
1, 5, 7, 11, 13, 16, 19, 22, 26, 29, 31, 34, 37, 41, 43, 46, 49, 53, 55, 59, 61, 64, 67, 71, 74, 76, 79, 83, 85, 88, 91, 95, 97, 100, 103, 107, 109, 113, 115, 119, 121, 124, 127, 130, 134, 136, 140, 142, 145, 148, 152, 155, 157, 160, 163, 167, 169, 173, 175 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) - a(n-1) is in {2, 3, 4} for n >= 1; also, 3n - a(n) is in {1, 2} for n >= 1. The first 20 numbers 3n - a(n) are 2, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, with 1 in positions given by A287518.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 0, 2}, 2->{0, 2, 1}}] &, {0}, 9]; (*A287516*)
Flatten[Position[s, 0]]; (*A287517*)
Flatten[Position[s, 1]]; (*A287518*)
Flatten[Position[s, 2]]; (*A189630*)
CROSSREFS
Sequence in context: A196276 A079498 A226636 * A175100 A270998 A342105
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 30 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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)