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

%I #8 Aug 15 2018 12:38:27

%S 2,3,4,8,12,19,31,49,80,128,207,334,536,866,1394,2247,3622,5834,9404,

%T 15151,24416,39346,63400,102169,164633,265296,427507,688891,1110104,

%U 1788845,2882595,4645091,7485216,12061886,19436832,31321030,50471539

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

%C Column 6 of A222127.

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

%F Empirical: a(n) = a(n-1) + a(n-3) + a(n-5) + 2*a(n-7) - a(n-8) - a(n-14) + a(n-15).

%F Empirical g.f.: x*(2 + x + x^2 + 2*x^3 + x^4 + x^5 + x^6 - 2*x^7 - x^10 - x^12 + x^14) / ((1 - x + x^2)*(1 - x^2 - 2*x^3 - x^4 + x^6 - x^7 - x^8 + x^10 + x^11 - x^13)). - _Colin Barker_, Aug 15 2018

%e Some solutions for n=7, 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 ..1....0....0....1....0....0....1....0....1....0....1....1....0....1....0....1

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

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

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

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

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

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

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

%Y Cf. A222127.

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 08 2013