The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287522 Positions of 1 in A287520. 4

%I #5 May 30 2017 18:17:33

%S 2,4,7,10,14,16,19,22,26,28,32,34,38,40,43,46,49,53,55,59,61,64,67,71,

%T 74,76,79,82,86,88,92,94,97,100,103,107,110,112,115,118,122,124,127,

%U 130,134,136,140,142,145,148,152,155,157,160,163,167,169,173,175

%N Positions of 1 in A287520.

%C a(n) - a(n-1) is in {2, 3, 4} for n >= 1; also, 3n - a(n) is in {1, 2} for n >= 1. The first 20 numbers 3n - a(n) are 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2, 2, 1, 2, 1, with 1 in positions given by A287521.

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

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

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

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

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

%Y Cf. A287520, A287521, A189630.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 30 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)