

A198158


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


0




OFFSET

1,2


COMMENTS

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


LINKS

Table of n, a(n) for n=1..10.


EXAMPLE

Some solutions with all values from 0 to 6 for 7X7X7
........0..............0..............0..............1..............1
.......0.0............2.2............0.0............3.1............1.3
......0.6.0..........2.5.2..........0.6.0..........1.2.2..........2.2.1
.....0.0.0.0........2.4.2.0........0.0.0.0........0.2.5.2........2.5.2.0
....1.2.2.2.2......2.5.2.0.0......2.2.2.2.1......0.0.2.4.2......2.4.2.0.0
...3.2.5.4.5.2....1.2.2.0.6.0....2.5.4.5.2.3....0.6.0.2.5.2....2.5.2.0.6.0
..1.1.2.2.2.2.0..1.3.1.0.0.0.0..0.2.2.2.2.1.1..0.0.0.0.2.2.0..0.2.2.0.0.0.0


CROSSREFS

Sequence in context: A115354 A100274 A213785 * A203247 A203123 A198043
Adjacent sequences: A198155 A198156 A198157 * A198159 A198160 A198161


KEYWORD

nonn


AUTHOR

R. H. Hardin Oct 21 2011


STATUS

approved



