login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287441 Positions of 2 in A287438. 3
3, 5, 7, 11, 13, 18, 19, 23, 27, 29, 31, 36, 37, 41, 45, 48, 50, 52, 55, 59, 63, 65, 67, 72, 75, 77, 79, 83, 85, 90, 91, 95, 99, 102, 104, 106, 109, 113, 117, 119, 121, 126, 129, 131, 133, 138, 140, 142, 146, 148, 153, 154, 158, 162, 163, 167, 171, 173, 175 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) - a(n-1) is in {1, 2, 3, 4, 5} for n >= 1; also, 3n - a(n) is in {0, 1, 2} for n >= 1.

LINKS

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

FORMULA

a(n) + A287438(n) = 3n.

MATHEMATICA

s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 2, 0}, 2->{2, 1, 0}}] &, {0}, 9]; (*A287438*)

Flatten[Position[s, 0]]; (*A189728*)

Flatten[Position[s, 1]]; (*A189670*)

Flatten[Position[s, 2]]; (*A287441*)

CROSSREFS

Cf. A287438, A189728, A189670.

Sequence in context: A130122 A288893 A046494 * A026603 A287437 A126991

Adjacent sequences:  A287438 A287439 A287440 * A287442 A287443 A287444

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 26 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 July 22 15:12 EDT 2019. Contains 325224 sequences. (Running on oeis4.)