login
Number of binary arrays indicating the locations of trailing edge maxima of a random length-n 0..3 array extended with zeros and convolved with 1,1.
2

%I #9 Mar 15 2018 05:21:37

%S 2,3,4,7,11,18,29,46,74,118,189,303,485,777,1244,1992,3190,5108,8180,

%T 13099,20976,33590,53789,86135,137932,220877,353701,566398,907000,

%U 1452422,2325832,3724465,5964162,9550695,15293980,24490974,39218556

%N Number of binary arrays indicating the locations of trailing edge maxima of a random length-n 0..3 array extended with zeros and convolved with 1,1.

%C Column 3 of A222334.

%H R. H. Hardin, <a href="/A222329/b222329.txt">Table of n, a(n) for n = 1..210</a>

%F Empirical: a(n) = a(n-1) + a(n-3) + a(n-5) + a(n-7).

%F Empirical g.f.: x*(2 + x + x^2 + x^3 + x^4 + x^5 + x^6) / (1 - x - x^3 - x^5 - x^7). - _Colin Barker_, Mar 15 2018

%e Some solutions for n=6, one extended zero followed by filtered positions:

%e ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0

%e ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0

%e ..0....1....0....1....1....1....1....0....0....0....0....0....0....1....0....0

%e ..0....0....0....0....0....0....0....0....1....0....1....0....1....0....1....0

%e ..0....1....1....1....0....0....0....0....0....1....0....1....0....0....0....0

%e ..1....0....0....0....0....1....0....0....0....0....1....0....0....0....0....0

%e ..0....1....0....0....0....0....1....0....0....1....0....0....1....0....0....0

%e ..0....0....1....1....0....0....0....0....0....0....0....0....0....1....1....1

%Y Cf. A222334.

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 15 2013