login
Number of n X n X n 0..6 triangular arrays with each element x equal to the number of its neighbors equal to 6,6,2,0,2,2,1 for x=0,1,2,3,4,5,6.
0

%I #9 Oct 12 2014 10:25:54

%S 1,2,8,53,540,9637,299148,15720596,1434338838,227708662197

%N Number of n X n X n 0..6 triangular arrays with each element x equal to the number of its neighbors equal to 6,6,2,0,2,2,1 for x=0,1,2,3,4,5,6.

%C Every 0 is next to zero 6's, every 1 is next to one 6, every 2 is next to two 2's, every 3 is next to three 0's, every 4 is next to four 2's, every 5 is next to five 2's, every 6 is next to six 1's.

%e Some solutions with all values from 0 to 6 for 7 X 7 X 7:

%e ........0..............0..............0..............0..............0

%e .......1.1............2.2............1.1............1.1............2.2

%e ......1.6.1..........2.5.2..........1.6.1..........1.6.1..........2.5.2

%e .....0.1.1.0........0.2.4.2........0.1.1.0........0.1.1.0........2.4.2.0

%e ....0.2.2.2.2......1.1.2.0.2......0.2.2.2.2......2.2.2.2.0......2.5.2.1.1

%e ...3.2.0.4.5.2....1.6.1.2.2.0....3.2.5.4.0.2....2.5.4.5.2.3....0.2.2.1.6.1

%e ..0.0.2.2.2.2.0..0.1.1.0.0.3.0..0.0.2.2.2.2.0..0.2.2.2.2.0.0..0.3.0.0.1.1.0

%K nonn,more

%O 1,2

%A _R. H. Hardin_, Dec 29 2011