T(n,k)=Number of nXk 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically or nw-to-se diagonally, and new values 0..3 introduced in row major order.

A205161

T(n,k)=Number of nXk 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically or nw-to-se diagonally, and new values 0..3 introduced in row major order.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =4a(4) =15a(5) =4a(6) =12a(7) =159a(8) =159a(9) =12a(10) =40a(11) =2191a(12) =6941a(13) =2191a(14) =40a(15) =143a(16) =31168a(17) =332285a(18) =332285a(19) =31168a(20) =143a(21) =528a(22) =447343a(23) =15821727a(24) =54314298a(25) =15821727a(26) =447343a(27) =528a(28) =1979a(29) =6427791

External references