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!)
A287387 Positions of 1 in A287385. 4
2, 5, 9, 12, 14, 17, 20, 24, 26, 29, 33, 35, 39, 41, 44, 47, 50, 54, 56, 59, 63, 65, 69, 71, 75, 77, 80, 83, 86, 90, 92, 96, 98, 102, 104, 107, 110, 114, 116, 120, 122, 125, 128, 131, 135, 137, 140, 144, 147, 149, 152, 155, 159, 161, 164, 167, 171, 174, 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 {0,1} for n >= 1. The first 20 numbers 3n - a(n) are 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, with 0 in positions given by A287388.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 1, 0}, 2->{0, 2, 1}}] &, {0}, 9]; (*A287385*)
Flatten[Position[s, 0]]; (*A287386*)
Flatten[Position[s, 1]]; (*A287387*)
Flatten[Position[s, 2]]; (*A287388*)
CROSSREFS
Sequence in context: A349048 A099434 A191104 * A371440 A287409 A279171
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 25 14:56 EDT 2024. Contains 371989 sequences. (Running on oeis4.)