login
T(n,k)=Number of lower triangles of an n X n 0..k array with each element unequal to the sum mod k+1 of its horizontal and vertical neighbors
7

%I #6 Dec 18 2015 18:17:44

%S 1,2,1,3,8,4,4,27,72,2,5,64,776,1020,1,6,125,4160,59052,32768,1,7,216,

%T 15804,1048560,14348907,2097152,1,8,343,46872,9765630,1073741824,

%U 10460353203,268460064,16,9,512,118096,60466140,30517578125

%N T(n,k)=Number of lower triangles of an n X n 0..k array with each element unequal to the sum mod k+1 of its horizontal and vertical neighbors

%C Table starts

%C .1.........2..............3.................4....................5

%C .1.........8.............27................64..................125

%C .4........72............776..............4160................15804

%C .2......1020..........59052...........1048560..............9765630

%C .1.....32768.......14348907........1073741824..........30517578125

%C .1...2097152....10460353203.....4398046511104......476837158203125

%C .1.268460064.22876792454961.72057594037927936.37252902986083985625

%H R. H. Hardin, <a href="/A194505/b194505.txt">Table of n, a(n) for n = 1..62</a>

%e Some solutions for n=4 k=3

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

%e ..2.1......1.1......3.2......3.3......3.2......3.0......3.0......1.2

%e ..1.2.1....2.3.2....1.1.2....2.3.1....2.1.1....2.3.1....3.0.1....0.3.1

%e ..2.0.1.3..0.0.0.3..0.1.3.1..1.2.1.0..0.3.3.0..3.3.0.1..1.3.0.3..2.3.3.1

%Y Column 1 is A144260(n+1)

%K nonn,tabl

%O 1,2

%A _R. H. Hardin_ Aug 27 2011