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!)
A287458 Positions of 2 in A287455. 4
3, 4, 7, 10, 15, 16, 19, 22, 27, 28, 31, 36, 39, 40, 43, 46, 51, 52, 55, 58, 63, 64, 69, 70, 75, 76, 79, 82, 85, 90, 91, 96, 97, 102, 103, 106, 111, 112, 115, 118, 123, 124, 127, 130, 135, 136, 139, 144, 147, 148, 151, 154, 159, 160, 163, 166, 171, 172, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1, 3, 5} for n >= 1; also, 3n - a(n) is in {0, 1} for n >= 1. The first 20 numbers 3n - a(n) are 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 0, 0, 2, 2, 2, 0, 2, 2, 2, with 0 in positions given by A287456.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 0, 1}, 2->{2, 1, 0}}] &, {0}, 9]; (*A287455*)
Flatten[Position[s, 0]]; (*A287456*)
Flatten[Position[s, 1]]; (*A189666*)
Flatten[Position[s, 2]]; (*A287458*)
CROSSREFS
Sequence in context: A304066 A296994 A236475 * A050572 A249668 A105343
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 22 22:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)