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

%I #5 Mar 31 2012 12:36:26

%S 5,30,131,594,2930,15274,76809,380093,1900745,9527317,47791454,

%T 239934641,1203634551,6035457841,30269130212,151821524586,

%U 761535367044,3819934203741,19160599201791,96107073057178,482062802792429

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

%C Every 0 is next to 0 3's, every 1 is next to 1 0's, every 2 is next to 2 2's, every 3 is next to 3 4's, every 4 is next to 4 1's

%C Column 4 of A196456

%H R. H. Hardin, <a href="/A196452/b196452.txt">Table of n, a(n) for n = 1..200</a>

%F Empirical: a(n) = 7*a(n-1) -15*a(n-2) +38*a(n-3) -84*a(n-4) +194*a(n-5) -250*a(n-6) -1059*a(n-7) -66*a(n-8) -910*a(n-9) +1845*a(n-10) +25120*a(n-11) +10190*a(n-12) -38236*a(n-13) +68320*a(n-14) +10899*a(n-15) -251830*a(n-16) -12937*a(n-17) -47142*a(n-18) -553200*a(n-19) +69561*a(n-20) +533489*a(n-21) -1642449*a(n-22) -436401*a(n-23) +6042242*a(n-24) +3515060*a(n-25) -7528796*a(n-26) -1508098*a(n-27) +18034521*a(n-28) +1036374*a(n-29) -20794117*a(n-30) +15310099*a(n-31) +32164418*a(n-32) -19996088*a(n-33) -49523594*a(n-34) +23771811*a(n-35) +42630527*a(n-36) -14333853*a(n-37) -49762720*a(n-38) -5236367*a(n-39) +14631189*a(n-40) -2601831*a(n-41) -19899517*a(n-42) -5183657*a(n-43) -1258284*a(n-44) -3972327*a(n-45) -1773169*a(n-46) +2977093*a(n-47) +1341855*a(n-48) -2141053*a(n-49) -508619*a(n-50) -426819*a(n-51) -38656*a(n-52) -355272*a(n-53) +146662*a(n-54) -41336*a(n-55) +30846*a(n-56) -21828*a(n-57) +5950*a(n-58) -410*a(n-59) -213*a(n-60) -93*a(n-61) +26*a(n-62) +3*a(n-63) -2*a(n-64) for n>65

%e Some solutions for n=5

%e ..0..0..2..2....0..0..0..0....0..0..1..1....2..2..1..1....1..0..0..0

%e ..0..0..2..2....0..0..0..0....2..2..2..0....2..2..0..0....1..0..0..0

%e ..1..1..1..0....0..0..2..2....2..1..2..2....1..1..1..1....1..0..0..0

%e ..1..2..2..0....0..0..2..2....2..0..0..2....0..0..2..2....1..2..2..0

%e ..0..2..2..0....0..0..0..1....2..2..2..2....0..0..2..2....0..2..2..0

%K nonn

%O 1,1

%A _R. H. Hardin_ Oct 02 2011