login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of length-n 0..4 arrays with no following elements greater than or equal to the first repeated value.
1

%I #8 Feb 05 2018 17:08:12

%S 5,25,110,470,1980,8274,34396,142474,588596,2426738,9989292,41065818,

%T 168636772,691859842,2836150748,11617837802,47559474708,194575978386,

%U 795613053964,3251559375226,13282278193604,54232112235170

%N Number of length-n 0..4 arrays with no following elements greater than or equal to the first repeated value.

%C Column 4 of A267232.

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

%F Empirical: a(n) = 14*a(n-1) -75*a(n-2) +190*a(n-3) -224*a(n-4) +96*a(n-5) for n>6.

%F Conjectures from _Colin Barker_, Feb 05 2018: (Start)

%F G.f.: x*(5 - 45*x + 135*x^2 - 145*x^3 + 20*x^4 + 24*x^5) / ((1 - x)*(1 - 2*x)*(1 - 3*x)*(1 - 4*x)^2).

%F a(n) = (2*(-3*2^(1+n) - 8*3^n + 41*4^n - 8) + 3*4^n*n) / 48 for n>1.

%F (End)

%e Some solutions for n=6:

%e ..1....0....0....4....0....4....1....2....2....0....1....1....2....3....1....3

%e ..4....4....3....2....1....4....2....3....0....2....3....4....0....1....3....1

%e ..3....2....2....3....0....0....0....2....1....2....2....1....3....4....0....2

%e ..0....4....3....1....4....3....1....0....2....1....1....3....4....0....2....3

%e ..4....0....2....0....2....3....4....4....4....0....3....1....2....3....0....0

%e ..2....2....2....0....1....0....0....3....1....0....1....3....3....3....3....4

%Y Cf. A267232.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 12 2016