login
This site is supported by donations 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

Clark Kimberling, Table of n, a(n) for n = 1..10000

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

Cf. A287455, A287456, A287458.

Sequence in context: A304066 A296994 A236475 * A050572 A249668 A105343

Adjacent sequences:  A287455 A287456 A287457 * A287459 A287460 A287461

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 06:19 EDT 2019. Contains 322294 sequences. (Running on oeis4.)