Number of length n+4 0..4 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms.

A254694

Number of length n+4 0..4 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms.

Terms

    a(0) =1205a(1) =3341a(2) =9507a(3) =26759a(4) =72271a(5) =183491a(6) =489135a(7) =1335839a(8) =3667545a(9) =10039379a(10) =27181211a(11) =73888637a(12) =202404193a(13) =556519333a(14) =1531160805a(15) =4209564311a(16) =11579591827a(17) =31920552169a(18) =88160917963a(19) =243693021765a(20) =673890012093

External references