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

%I #4 Mar 31 2012 12:36:55

%S 1,5,17,110,1419,28460,974563,56419980,5461470023

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

%C Every 0 is next to 0 5's, every 1 is next to 1 0's, every 2 is next to 2 2's, every 3 is next to 3 1's, every 4 is next to 4 0's, every 5 is next to 5 1's, every 6 is next to 6 2's

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

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

%e .......1.1............1.0............0.0............1.1............1.1

%e ......1.5.1..........3.1.1..........0.4.0..........1.5.1..........1.5.1

%e .....0.1.3.0........0.1.5.1........1.1.2.2........0.3.1.0........0.1.3.0

%e ....2.2.1.4.0......1.2.2.1.0......1.5.2.6.2......0.0.1.2.2......2.2.1.0.0

%e ...2.6.2.0.0.4....1.2.6.2.4.0....0.1.1.2.2.1....0.0.4.2.6.2....2.6.2.4.0.4

%e ..0.2.2.0.0.0.0..0.1.2.2.0.0.0..1.1.3.0.1.1.0..0.4.0.0.2.2.0..0.2.2.0.0.0.0

%K nonn

%O 1,2

%A _R. H. Hardin_ Dec 29 2011