cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A196332 Number of nX3 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 4,0,3,1,2 for x=0,1,2,3,4.

Original entry on oeis.org

4, 8, 7, 50, 111, 259, 744, 1840, 4761, 12491, 33073, 86147, 225519, 592444, 1548876, 4064416, 10672675, 27999791, 73482986, 192857345, 506140823, 1328448433, 3487163834, 9153779129, 24028409740, 63075279907, 165574433166, 434640853456
Offset: 1

Views

Author

R. H. Hardin Oct 01 2011

Keywords

Comments

Every 0 is next to 0 4's, every 1 is next to 1 0's, every 2 is next to 2 3's, every 3 is next to 3 1's, every 4 is next to 4 2's
Column 3 of A196337

Examples

			Some solutions for n=4
..1..0..1....1..0..1....0..0..0....1..0..1....0..0..1....1..1..1....1..1..0
..3..1..3....1..0..1....1..3..1....3..1..1....1..1..1....0..0..0....0..1..1
..1..1..1....1..0..1....1..1..3....1..3..0....1..3..0....0..0..0....1..1..3
..0..0..0....1..0..1....0..0..1....0..1..1....0..1..1....0..0..0....1..0..1
		

Formula

Empirical: a(n) = 3*a(n-1) -a(n-3) -5*a(n-4) +6*a(n-5) +6*a(n-6) -22*a(n-7) -71*a(n-8) +6*a(n-9) +95*a(n-10) +3*a(n-11) +139*a(n-12) -20*a(n-13) -45*a(n-14) +44*a(n-15) -6*a(n-16) -14*a(n-17)