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!)
A287420 Positions of 1 in A287418. 5
2, 4, 7, 10, 13, 17, 19, 23, 25, 28, 31, 35, 37, 41, 43, 47, 49, 52, 55, 58, 62, 65, 67, 70, 73, 77, 79, 82, 85, 89, 91, 95, 97, 101, 103, 106, 109, 112, 116, 119, 121, 124, 127, 131, 133, 137, 139, 142, 145, 148, 152, 154, 158, 160, 163, 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, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2, 2, with 1 in positions given by A287419.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 2, 0}, 2->{1, 0, 2}}] &, {0}, 9]; (*A287418*)
Flatten[Position[s, 0]]; (*A287419*)
Flatten[Position[s, 1]]; (*A287420*)
Flatten[Position[s, 2]]; (*A287421*)
CROSSREFS
Sequence in context: A194236 A127762 A137281 * A003067 A130243 A061465
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 26 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)