T(n,k)=Number of length n+3 0..k arrays with no four consecutive terms having the maximum of any two terms equal to the minimum of the remaining two terms.

A250387

T(n,k)=Number of length n+3 0..k arrays with no four consecutive terms having the maximum of any two terms equal to the minimum of the remaining two terms.

Terms

    a(0) =6a(1) =42a(2) =6a(3) =156a(4) =78a(5) =6a(6) =420a(7) =432a(8) =146a(9) =6a(10) =930a(11) =1560a(12) =1208a(13) =274a(14) =6a(15) =1806a(16) =4350a(17) =5848a(18) =3384a(19) =514a(20) =6a(21) =3192a(22) =10206a(23) =20518a(24) =21950a(25) =9480a(26) =966a(27) =6a(28) =5256a(29) =21168

External references