A240327 T(n,k)=Number of nXk 0..3 arrays with no element equal to zero plus the sum of elements to its left or zero plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest, modulo 4.
2, 2, 2, 4, 5, 4, 6, 17, 17, 6, 8, 37, 116, 37, 8, 14, 80, 455, 455, 80, 14, 20, 213, 1677, 3374, 1677, 213, 20, 30, 443, 8091, 21455, 21455, 8091, 443, 30, 48, 1028, 28448, 189549, 247187, 189549, 28448, 1028, 48, 70, 2511, 117304, 1190246, 3898804
Offset: 1
Examples
Some solutions for n=4 k=4 ..3..2..3..2....3..2..3..3....2..3..3..2....3..2..2..2....3..2..3..2 ..2..1..2..3....2..1..2..2....3..0..1..3....2..1..1..1....2..3..2..1 ..3..1..3..2....3..2..2..0....3..1..1..2....3..0..2..2....3..0..0..2 ..2..3..2..2....3..2..2..2....2..3..3..2....3..2..2..2....3..2..0..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..111
Crossrefs
Column 1 is A239851
Formula
Empirical for column k:
k=1: a(n) = a(n-2) +2*a(n-3)
k=2: [order 13] for n>14
Comments