Number of length n+5 0..3 arrays with every six consecutive terms having the maximum of some three terms equal to the minimum of the remaining three terms.

A250331

Number of length n+5 0..3 arrays with every six consecutive terms having the maximum of some three terms equal to the minimum of the remaining three terms.

Terms

    a(0) =2056a(1) =5264a(2) =14040a(3) =37824a(4) =101264a(5) =266448a(6) =682576a(7) =1775840a(8) =4688592a(9) =12466400a(10) =33210308a(11) =88374488a(12) =234321984a(13) =620855216a(14) =1647800996a(15) =4382017896a(16) =11664830948a(17) =31052342800a(18) =82626654156a(19) =219775672688a(20) =584568705316

External references