A184048 T(n,k) = 1/9 the number of (n+1) X (k+1) 0..2 arrays with all 2 X 2 subblocks having the same four values.
9, 15, 15, 25, 21, 25, 45, 31, 31, 45, 81, 51, 41, 51, 81, 153, 87, 61, 61, 87, 153, 289, 159, 97, 81, 97, 159, 289, 561, 295, 169, 117, 117, 169, 295, 561, 1089, 567, 305, 189, 153, 189, 305, 567, 1089, 2145, 1095, 577, 325, 225, 225, 325, 577, 1095, 2145, 4225, 2151
Offset: 1
Examples
Some solutions for 6X5 ..0..1..0..1..0....1..2..1..2..1....1..2..1..2..1....2..1..2..2..2 ..0..1..0..1..0....1..2..1..2..1....1..0..1..0..1....0..2..0..1..0 ..1..0..1..0..1....2..1..2..1..2....1..2..1..2..1....2..1..2..2..2 ..0..1..0..1..0....1..2..1..2..1....1..0..1..0..1....0..2..0..1..0 ..0..1..0..1..0....1..2..1..2..1....2..1..2..1..2....2..1..2..2..2 ..1..0..1..0..1....2..1..2..1..2....0..1..0..1..0....0..2..0..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..391
Crossrefs
Programs
-
PARI
T(n,k) = my(m=3, b=t->2^t-1); m^2 + (m-1)^2*(b(n-1) + b(k-1)) + (m-1)*(b((n-1)\2) + b(n\2) + b((k-1)\2) + b(k\2)) \\ Andrew Howroyd, Mar 09 2024
Formula
Empirical, for all rows and columns: a(n)=3*a(n-1)-6*a(n-3)+4*a(n-4).
From Andrew Howroyd, Mar 09 2024: (Start)
The above empirical formula is correct.
T(n,k) = -7 + 4*(2^(n-1) + 2^(k-1)) + 2*(2^(floor((n-1)/2)) + 2^(floor(n/2)) + 2^(floor((k-1)/2)) + 2^(floor(k/2))). (End)
Comments