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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287400 Positions of 2 in A287397. 5
3, 4, 9, 12, 13, 18, 19, 24, 27, 28, 33, 36, 39, 40, 45, 48, 49, 54, 57, 58, 63, 66, 67, 72, 73, 78, 81, 84, 85, 90, 93, 94, 99, 100, 105, 108, 109, 114, 117, 120, 121, 126, 129, 130, 135, 138, 139, 144, 147, 148, 153, 154, 159, 162, 163, 168, 171, 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, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 0, 2, 0, 0, 2, 0, 0, 2, with 2 in positions given by A287399.

LINKS

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

MATHEMATICA

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

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

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

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

CROSSREFS

Cf. A287397, A287398, A287399.

Sequence in context: A182828 A294229 A035256 * A047075 A104479 A067163

Adjacent sequences:  A287397 A287398 A287399 * A287401 A287402 A287403

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 22:14 EDT 2019. Contains 325168 sequences. (Running on oeis4.)