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

A249839

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

Terms

    a(0) =560a(1) =1500a(2) =4064a(3) =11052a(4) =30080a(5) =81816a(6) =223505a(7) =610707a(8) =1668211a(9) =4554827a(10) =12431235a(11) =33954554a(12) =92762467a(13) =253415655a(14) =692169166a(15) =1890209360a(16) =5162755004a(17) =14102503341a(18) =38523105901a(19) =105226139993a(20) =287403931596a(21) =785007553273

External references