T(n,k)=Half the number of nXk 0..3 arrays with each element equal to either the maximum or the minimum of its horizontal and vertical neighbors.

A183584

T(n,k)=Half the number of nXk 0..3 arrays with each element equal to either the maximum or the minimum of its horizontal and vertical neighbors.

Terms

    a(0) =0a(1) =2a(2) =2a(3) =2a(4) =14a(5) =2a(6) =8a(7) =78a(8) =78a(9) =8a(10) =14a(11) =407a(12) =814a(13) =407a(14) =14a(15) =38a(16) =2216a(17) =9667a(18) =9667a(19) =2216a(20) =38a(21) =80a(22) =12024a(23) =110674a(24) =240358a(25) =110674a(26) =12024a(27) =80a(28) =194a(29) =65277

External references