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!)
A287399 Positions of 1 in A287397. 5

%I #4 May 25 2017 17:53:47

%S 2,5,7,10,14,17,20,23,25,29,32,34,37,41,44,47,50,52,55,59,62,65,68,70,

%T 74,77,79,82,86,89,92,95,97,101,104,106,110,113,115,118,122,125,128,

%U 131,133,137,140,142,145,149,152,155,158,160,164,167,169,172,176

%N Positions of 1 in A287397.

%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, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2.

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

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

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

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

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

%Y Cf. A287397, A287398, A287400.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 25 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 August 14 13:04 EDT 2024. Contains 375164 sequences. (Running on oeis4.)