login
T(n,k)=Number of (n+1)X(k+1) 0..2 arrays with the maximum plus the upper median plus the minimum minus the lower median of every 2X2 subblock differing from its horizontal and vertical neighbors by exactly one
9

%I #4 Feb 06 2014 06:19:09

%S 81,348,348,1508,2108,1508,6608,12756,12756,6608,28772,79360,107572,

%T 79360,28772,123888,485484,949596,949596,485484,123888,536848,2938226,

%U 8219232,12331794,8219232,2938226,536848,2352448,17798196,69761476

%N T(n,k)=Number of (n+1)X(k+1) 0..2 arrays with the maximum plus the upper median plus the minimum minus the lower median of every 2X2 subblock differing from its horizontal and vertical neighbors by exactly one

%C Table starts

%C .......81........348.........1508...........6608............28772

%C ......348.......2108........12756..........79360...........485484

%C .....1508......12756.......107572.........949596..........8219232

%C .....6608......79360.......949596.......12331794........156958400

%C ....28772.....485484......8219232......156958400.......2926294296

%C ...123888....2938226.....69761476.....1937821588......51702881184

%C ...536848...17798196....591728030....23858930168.....923349438238

%C ..2352448..110739192...5221400304...317722513312...18611114799608

%C .10242832..677413956..45243325970..4139126948816..364377495225236

%C .44104128.4099776412.385224702840.52268979025592.6695911094989872

%H R. H. Hardin, <a href="/A237324/b237324.txt">Table of n, a(n) for n = 1..144</a>

%F Empirical for column k:

%F k=1: a(n) = 356*a(n-4) for n>5

%F k=2: a(n) = 1400*a(n-4) -6519*a(n-8) +126*a(n-12) for n>14

%F k=3: [order 32] for n>35

%e Some solutions for n=3 k=4

%e ..0..1..0..1..2....0..2..0..1..1....0..2..0..1..0....0..1..0..2..0

%e ..1..0..2..1..1....0..0..1..0..1....1..0..2..2..1....0..1..1..1..0

%e ..2..0..0..2..0....0..1..0..0..1....0..1..2..2..2....2..2..0..1..2

%e ..0..0..1..1..0....2..1..1..1..1....2..0..1..0..2....0..2..1..0..0

%K nonn,tabl

%O 1,1

%A _R. H. Hardin_, Feb 06 2014