%I #5 Mar 31 2012 12:36:30
%S 1,1,1,2,5,2,3,14,14,3,4,43,67,43,4,6,124,366,366,124,6,9,352,1840,
%T 3569,1840,352,9,13,1025,9361,33484,33484,9361,1025,13,19,2977,47610,
%U 305072,545364,305072,47610,2977,19,28,8619,242254,2851047,9128940,9128940
%N 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 4,2,1,1,1 for x=0,1,2,3,4
%C Every 0 is next to 0 4'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
%C Table starts
%C ..1.....1.......2..........3............4...............6.................9
%C ..1.....5......14.........43..........124.............352..............1025
%C ..2....14......67........366.........1840............9361.............47610
%C ..3....43.....366.......3569........33484..........305072...........2851047
%C ..4...124....1840......33484.......545364.........9128940.........153043371
%C ..6...352....9361.....305072......9128940.......273369257........8272253014
%C ..9..1025...47610....2851047....153043371......8272253014......449467029436
%C .13..2977..242254...26590627...2556879780....248406422932....24420773475851
%C .19..8619.1234052..247746587..42705555374...7492663676120..1328293306974369
%C .28.24982.6286646.2305802120.714332556250.225895450875974.72207065980385107
%H R. H. Hardin, <a href="/A197613/b197613.txt">Table of n, a(n) for n = 1..143</a>
%e Some solutions containing all values 0 to 4 for n=6 k=4
%e ..0..0..2..1....0..0..0..0....0..0..0..0....0..1..2..1....1..0..1..2
%e ..0..0..1..0....2..1..0..0....2..1..1..2....2..1..0..0....2..1..4..1
%e ..2..1..4..1....1..3..0..0....1..1..4..1....1..3..0..0....0..3..1..1
%e ..1..0..1..2....0..1..2..0....0..2..1..0....3..1..2..0....0..1..2..2
%e ..3..1..1..0....1..4..1..0....0..0..3..1....1..4..1..0....0..0..0..1
%e ..1..2..2..1....2..1..0..0....0..0..1..2....2..1..0..0....0..0..0..0
%Y Column 1 is A000930
%K nonn,tabl
%O 1,4
%A _R. H. Hardin_ Oct 16 2011