This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A287388 Positions of 2 in A287385. 4
 3, 4, 8, 11, 13, 18, 21, 23, 25, 30, 32, 34, 38, 40, 45, 48, 49, 53, 57, 58, 62, 66, 68, 70, 74, 76, 81, 84, 85, 89, 93, 95, 97, 101, 103, 108, 111, 113, 115, 119, 121, 126, 129, 130, 134, 138, 139, 143, 146, 148, 153, 156, 158, 160, 165, 166, 170, 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.  The first 20 numbers 3n - a(n) are 0, 2, 1, 1, 2, 0, 0, 1, 2, 0, 1, 2, 1, 2, 0, 0, 2, 1, 0, 2, with 0 in positions given by A287386. 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->{0, 2, 1}}] &, {0}, 9]; (*A287385*) Flatten[Position[s, 0]]; (*A287386*) Flatten[Position[s, 1]]; (*A287387*) Flatten[Position[s, 2]]; (*A287388*) CROSSREFS Cf. A287385, A287386, A287387. Sequence in context: A255748 A152412 A287404 * A022888 A287454 A287446 Adjacent sequences:  A287385 A287386 A287387 * A287389 A287390 A287391 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.

Last modified October 17 15:01 EDT 2019. Contains 328116 sequences. (Running on oeis4.)