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.

A197889 T(n,k)=Number of nXk 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 0,2,1,1,1 for x=0,1,2,3,4.

Original entry on oeis.org

1, 0, 0, 1, 4, 1, 2, 3, 3, 2, 1, 14, 6, 14, 1, 1, 18, 47, 47, 18, 1, 3, 43, 77, 155, 77, 43, 3, 3, 78, 196, 835, 835, 196, 78, 3, 2, 154, 529, 2263, 2730, 2263, 529, 154, 2, 4, 305, 1637, 10827, 17890, 17890, 10827, 1637, 305, 4, 6, 572, 4235, 38938, 92843, 129294, 92843
Offset: 1

Views

Author

R. H. Hardin Oct 19 2011

Keywords

Comments

Every 0 is next to 0 0's, every 1 is next to 1 2's, every 2 is next to 2 1's, every 3 is next to 3 1's, every 4 is next to 4 1's
Table starts
.1...0.....1......2........1.........1...........3...........3...........2
.0...4.....3.....14.......18........43..........78.........154.........305
.1...3.....6.....47.......77.......196.........529........1637........4235
.2..14....47....155......835......2263.......10827.......38938......157178
.1..18....77....835.....2730.....17890.......92843......567991.....3000116
.1..43...196...2263....17890....129294.....1134527.....9389938....74334188
.3..78...529..10827....92843...1134527....13253562...145351090..1728849664
.3.154..1637..38938...567991...9389938...145351090..2512321052.39163260138
.2.305..4235.157178..3000116..74334188..1728849664.39163260138
.4.572.11211.654028.17111462.612587633.19259087568

Examples

			Some solutions containing all values 0 to 4 for n=6 k=4
..1..2..2..1....0..2..1..0....0..1..2..0....1..2..0..1....1..2..2..1
..3..1..1..0....1..1..1..2....2..1..1..1....3..1..1..2....0..1..1..0
..1..4..1..2....2..1..4..1....1..4..1..2....1..4..1..2....1..4..1..2
..2..1..4..1....2..1..1..3....0..1..1..2....2..1..4..1....2..1..3..1
..0..1..1..3....1..0..2..1....1..2..3..1....2..1..1..3....2..1..3..1
..1..2..2..1....0..1..2..1....1..2..1..0....1..0..2..1....1..0..1..2
		

Crossrefs

Column 1 is A017817(n+3)