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!)
A287403 Positions of 1 in A287401. 5
2, 5, 7, 10, 14, 17, 20, 22, 26, 29, 31, 35, 37, 41, 44, 47, 50, 52, 55, 59, 62, 65, 67, 71, 74, 77, 79, 82, 86, 89, 92, 94, 98, 101, 104, 106, 110, 112, 116, 118, 122, 125, 128, 131, 133, 137, 140, 142, 145, 149, 152, 155, 157, 161, 164, 166, 170, 172, 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 {1, 2} for n >= 1. The first 20 numbers 3n - a(n) are 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 1, with 2 in positions given by A287404.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 1, 0}, 2->{1, 2, 0}}] &, {0}, 9]; (*A287401*)
Flatten[Position[s, 0]]; (*A189728*)
Flatten[Position[s, 1]]; (*A287403*)
Flatten[Position[s, 2]]; (*A287404*)
CROSSREFS
Sequence in context: A071704 A267374 A267379 * A287399 A276213 A094019
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)