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!)
A287410 Positions of 2 in A287407. 5
3, 4, 7, 10, 13, 18, 19, 24, 25, 28, 33, 34, 37, 40, 45, 48, 49, 52, 55, 60, 61, 66, 67, 70, 73, 76, 81, 82, 87, 88, 93, 94, 97, 100, 103, 108, 109, 114, 115, 118, 121, 126, 129, 130, 133, 138, 139, 142, 145, 148, 153, 154, 159, 160, 163, 168, 169, 174, 175 (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, 2} for n >= 1. The first 20 numbers 3n - a(n) are 0, 2, 2, 2, 2, 0, 2, 0, 2, 2, 0, 2, 2, 2, 0, 0, 2, 2, 2, 0, with 0 in positions given by A287408.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 1, 0}, 2->{2, 0, 1}}] &, {0}, 9]; (*A287407*)
Flatten[Position[s, 0]]; (*A287408*)
Flatten[Position[s, 1]]; (*A287409*)
Flatten[Position[s, 2]]; (*A287410*)
CROSSREFS
Sequence in context: A026488 A108579 A332822 * A228643 A304066 A296994
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)