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!)
A287522 Positions of 1 in A287520. 4
2, 4, 7, 10, 14, 16, 19, 22, 26, 28, 32, 34, 38, 40, 43, 46, 49, 53, 55, 59, 61, 64, 67, 71, 74, 76, 79, 82, 86, 88, 92, 94, 97, 100, 103, 107, 110, 112, 115, 118, 122, 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,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, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2, 2, 1, 2, 1, with 1 in positions given by A287521.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 0, 2}, 2->{1, 2, 0}}] &, {0}, 9]; (*A287520*)
Flatten[Position[s, 0]]; (*A287521*)
Flatten[Position[s, 1]]; (*A287522*)
Flatten[Position[s, 2]]; (*A189630*)
CROSSREFS
Sequence in context: A168112 A170894 A151986 * A101472 A273872 A087160
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 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)