login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A197679
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 2,0,1,0,1 for x=0,1,2,3,4
7
1, 3, 3, 4, 9, 4, 5, 16, 16, 5, 9, 33, 57, 33, 9, 16, 73, 202, 202, 73, 16, 25, 160, 721, 1111, 721, 160, 25, 39, 361, 2557, 5639, 5639, 2557, 361, 39, 64, 835, 8930, 29190, 45162, 29190, 8930, 835, 64, 105, 1966, 31326, 153715, 358209, 358209, 153715, 31326, 1966
OFFSET
1,2
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 0's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 1's
Table starts
...1....3......4........5..........9..........16............25..............39
...3....9.....16.......33.........73.........160...........361.............835
...4...16.....57......202........721........2557..........8930...........31326
...5...33....202.....1111.......5639.......29190........153715..........817865
...9...73....721.....5639......45162......358209.......2871646........22955155
..16..160...2557....29190.....358209.....4268977......51167876.......612121676
..25..361...8930...153715....2871646....51167876.....924904506.....16683567785
..39..835..31326...817865...22955155...612121676...16683567785....452341382317
..64.1966.110217..4363976..183536379..7361707007..302284521370..12312981845426
.105.4703.387627.23310791.1469158622.88656931195.5474405589906.335130309920001
LINKS
EXAMPLE
Some solutions containing all values 0 to 4 for n=6 k=4
..1..0..0..0....1..1..1..1....1..2..2..1....2..1..0..0....0..0..0..1
..1..0..3..0....0..0..0..0....0..1..1..0....1..4..1..1....3..0..3..2
..1..1..1..0....0..3..0..0....0..1..4..1....0..1..1..1....0..0..0..1
..0..1..1..0....0..1..1..1....0..1..1..1....0..3..0..0....1..1..1..1
..1..1..4..1....1..4..1..1....0..3..0..0....3..0..3..1....1..4..1..0
..1..0..1..2....2..1..0..0....0..0..0..0....0..0..0..1....0..1..1..0
CROSSREFS
Column 1 is A195971
Column 2 is A197531
Sequence in context: A195978 A197280 A197537 * A196300 A196218 A196685
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Oct 17 2011
STATUS
approved