The OEIS is supported by the many generous donors to the OEIS Foundation.

T(n,k)=Number of nXk 0..3 arrays with each element equal to either the sum mod 4 of its horizontal and vertical neighbors or the sum mod 4 of its diagonal and antidiagonal neighbors

7

`%I #5 Mar 31 2012 12:35:52
`

`%S 1,4,4,7,16,7,10,43,43,10,22,128,133,128,22,43,416,1326,1326,416,43,
`

`%T 73,1287,4583,16704,4583,1287,73,139,3996,28498,124568,124568,28498,
`

`%U 3996,139,268,12594,146315,1260440,1150368,1260440,146315,12594,268,487,39539
`

`%N T(n,k)=Number of nXk 0..3 arrays with each element equal to either the sum mod 4 of its horizontal and vertical neighbors or the sum mod 4 of its diagonal and antidiagonal neighbors
`

`%C Table starts
`

`%C ...1.....4......7......10......22......43.......73....139...268.487
`

`%C ...4....16.....43.....128.....416....1287.....3996..12594.39539
`

`%C ...7....43....133....1326....4583...28498...146315.714260
`

`%C ..10...128...1326...16704..124568.1260440.12593728
`

`%C ..22...416...4583..124568.1150368
`

`%C ..43..1287..28498.1260440
`

`%C ..73..3996.146315
`

`%C .139.12594
`

`%C .268
`

`%H R. H. Hardin, <a href="/A183541/b183541.txt">Table of n, a(n) for n = 1..49</a>
`

`%e Some solutions for 4X3
`

`%e ..3..0..1....0..1..0....0..0..0....2..0..0....0..3..3....3..3..0....2..0..0
`

`%e ..3..2..1....3..0..2....0..0..1....2..2..0....3..0..0....0..0..0....0..2..0
`

`%e ..2..2..2....2..2..2....3..0..1....2..3..2....0..0..1....0..1..0....3..0..1
`

`%e ..2..0..2....0..2..0....3..0..0....3..0..2....1..1..0....0..0..1....3..0..1
`

`%Y Column 1 is A084386(n+1)
`

`%K nonn,tabl
`

`%O 1,2
`

`%A _R. H. Hardin_ Jan 05 2011
`