login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Positions of 0 in A287566.
6

%I #4 May 31 2017 21:24:29

%S 1,7,10,16,18,24,25,31,36,37,43,46,51,54,60,61,68,69,75,78,83,86,92,

%T 93,97,103,106,112,114,120,121,127,131,134,140,141,145,151,154,160,

%U 162,168,169,175,180,181,187,190,194,200,201,207,212,213,219,222,227

%N Positions of 0 in A287566.

%C a(n) - a(n-1) is in {1,2,3,4,5,6,7} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1. The first 20 numbers 4n - a(n) are 3, 1, 2, 0, 2, 0, 3, 1, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, with

%C 0 in positions given by A287568,

%C 1 in positions given by A287569,

%C 2 in positions given by A287570,

%C 3 in positions given by A287567.

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

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

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

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

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

%t Flatten[Position[s, 3]]; (* A287570 *)

%Y Cf. A287566, A287568, A287569, A287570.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 31 2017