A240153 T(n,k)=Number of nXk 0..3 arrays with no element equal to one plus the sum of elements to its left or one plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest or zero plus the sum of the elements antidiagonally to its northeast, modulo 4.
2, 3, 3, 4, 5, 4, 7, 8, 11, 7, 10, 19, 20, 25, 10, 15, 36, 107, 67, 62, 15, 24, 57, 186, 676, 254, 144, 24, 35, 120, 450, 1328, 3993, 825, 329, 35, 54, 218, 1641, 5701, 11742, 22412, 2667, 775, 54, 83, 377, 2788, 24419, 88214, 108201, 131005, 8652, 1781, 83, 124, 758
Offset: 1
Examples
Some solutions for n=4 k=4 ..2..2..3..2....2..2..3..3....2..2..3..3....2..2..3..3....2..2..3..3 ..0..2..1..1....0..2..2..3....0..2..1..1....0..0..2..2....0..2..1..1 ..0..2..2..3....2..0..0..2....2..2..3..3....2..0..1..3....0..2..2..2 ..0..0..2..2....3..2..3..2....3..1..2..1....3..1..2..2....0..2..0..2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..112
Crossrefs
Row and column 1 are A159288(n+1)
Formula
Empirical for column k:
k=1: a(n) = a(n-2) +2*a(n-3)
k=2: [order 34] for n>36
Empirical for row n:
n=1: a(n) = a(n-2) +2*a(n-3)
n=2: [order 17] for n>19
Comments