login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Positions of 2 in A286998.
4

%I #4 May 22 2017 20:03:00

%S 4,10,17,21,28,34,41,47,54,58,65,71,78,85,91,98,102,109,115,122,126,

%T 133,139,146,153,159,166,170,177,183,190,196,203,207,214,220,227,234,

%U 240,247,251,258,264,271,277,284,288,295,301,308,315,321,328,332,339

%N Positions of 2 in A286998.

%H Clark Kimberling, <a href="/A287001/b287001.txt">Table of n, a(n) for n = 1..10000</a>

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

%t Flatten[Position[s, 0]] (* A286999 *)

%t Flatten[Position[s, 1]] (* A287000 *)

%t Flatten[Position[s, 2]] (* A287001 *)

%Y Cf. A286998, A286999, A287000.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 22 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 15:43 EDT 2024. Contains 376087 sequences. (Running on oeis4.)