login
Number of lower triangles of an n X n 0..4 array with each element differing from all of its diagonal, vertical, antidiagonal and horizontal neighbors by two or less
1

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

%S 5,65,2729,357847,147824001,192172956591,786909681200387,

%T 10151817642632605643,412697709382902984293947,

%U 52873327059079066189496492173,21349480944940442832764307444766199

%N Number of lower triangles of an n X n 0..4 array with each element differing from all of its diagonal, vertical, antidiagonal and horizontal neighbors by two or less

%C Column 4 of A195248

%H R. H. Hardin, <a href="/A195244/b195244.txt">Table of n, a(n) for n = 1..12</a>

%e Some solutions for n=5

%e ..0..........4..........3..........0..........3..........4..........4

%e ..2.0........3.3........1.3........2.2........2.3........4.2........4.4

%e ..2.0.1......2.2.2......1.2.2......4.3.1......4.2.3......4.2.0......2.4.4

%e ..0.2.0.2....0.2.0.1....1.1.2.4....4.3.2.3....2.3.3.3....4.2.0.0....3.3.3.3

%e ..0.1.2.2.1..0.2.2.1.1..1.3.3.4.3..3.3.2.3.2..4.3.1.2.4..3.2.1.2.0..1.3.1.2.1

%K nonn

%O 1,1

%A _R. H. Hardin_ Sep 13 2011