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”).
%I #6 Aug 10 2014 12:58:33
%S 126,534,2262,9582,40590,171942,728358,3085374,13069854,55364790,
%T 234529014,993480846,4208452398,17827290438,75517614150,319897747038,
%U 1355108602302,5740332156246,24316437227286,103006081065390
%N Number of length n+2 0..5 arrays with no pair in any consecutive three terms totalling exactly 5
%C Column 5 of A245995
%H R. H. Hardin, <a href="/A245992/b245992.txt">Table of n, a(n) for n = 1..210</a>
%F Empirical: a(n) = 4*a(n-1) +a(n-2).
%F Empirical: G.f.: -6*x*(21+5*x) / ( -1+4*x+x^2 ). - _R. J. Mathar_, Aug 10 2014
%e Some solutions for n=6
%e ..3....1....0....1....3....0....0....3....1....1....4....3....1....0....1....4
%e ..3....2....0....3....5....1....0....3....2....0....3....1....2....2....1....4
%e ..0....1....0....1....5....0....2....4....2....3....5....3....1....1....3....2
%e ..4....2....1....1....3....2....1....4....4....3....5....3....2....0....5....0
%e ..4....5....1....5....1....0....2....2....0....0....2....0....0....1....5....1
%e ..5....2....5....2....5....2....2....2....3....0....4....0....4....0....4....3
%e ..5....1....2....5....2....1....4....0....3....0....2....2....2....3....4....1
%e ..1....2....2....5....2....2....4....2....0....1....0....4....4....0....2....0
%K nonn
%O 1,1
%A _R. H. Hardin_, Aug 09 2014