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!)
A287399 Positions of 1 in A287397. 5
2, 5, 7, 10, 14, 17, 20, 23, 25, 29, 32, 34, 37, 41, 44, 47, 50, 52, 55, 59, 62, 65, 68, 70, 74, 77, 79, 82, 86, 89, 92, 95, 97, 101, 104, 106, 110, 113, 115, 118, 122, 125, 128, 131, 133, 137, 140, 142, 145, 149, 152, 155, 158, 160, 164, 167, 169, 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, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2.
LINKS
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
Sequence in context: A267374 A267379 A287403 * A276213 A094019 A161580
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 March 28 16:12 EDT 2024. Contains 371254 sequences. (Running on oeis4.)