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

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

%S 1,4,27,333,8543,515425,61995144,14944322148,7917933408831

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

%C Every 0 is next to 0 5's, every 1 is next to 1 3's, every 2 is next to 2 0'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 0's

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

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

%e .......0.0............3.1............0.0............1.3............1.3

%e ......1.0.4..........1.5.1..........4.0.1..........1.5.1..........1.5.1

%e .....1.3.0.0........1.1.1.3........0.0.3.1........3.1.1.1........3.1.1.1

%e ....1.1.0.6.0......0.3.0.0.1......0.6.0.1.1......1.0.0.3.0......1.0.0.3.0

%e ...3.5.1.0.0.0....0.1.0.6.0.0....4.0.0.1.5.3....0.0.6.0.1.0....0.0.6.0.1.2

%e ..1.1.1.3.1.0.2..0.2.2.0.0.4.0..0.0.1.3.1.1.1..0.4.0.0.0.0.2..0.4.0.0.0.2.0

%K nonn

%O 1,2

%A _R. H. Hardin_ Dec 30 2011