Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Aug 06 2018 07:25:17
%S 0,6,94,536,1940,5368,12458,25544,47776,83240,137078,215608,326444,
%T 478616,682690,950888,1297208,1737544,2289806,2974040,3812548,4830008,
%U 6053594,7513096,9241040,11272808,13646758,16404344,19590236,23252440
%N Number of 0..n arrays of length 5 with each element differing from at least one neighbor by 2 or more.
%C Row 5 of A221524.
%H R. H. Hardin, <a href="/A221525/b221525.txt">Table of n, a(n) for n = 1..210</a>
%F Empirical: a(n) = 1*n^5 - 1*n^4 - 10*n^3 + 38*n^2 - 60*n + 40 for n>2.
%F Conjectures from _Colin Barker_, Aug 06 2018: (Start)
%F G.f.: 2*x^2*(3 + 29*x + 31*x^2 + 7*x^3 - 11*x^4 + 2*x^5 - x^6) / (1 - x)^6.
%F a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>8.
%F (End)
%e Some solutions for n=6:
%e ..5....2....6....1....5....4....4....0....4....1....3....6....2....1....2....2
%e ..2....0....0....5....1....0....2....2....0....4....1....1....6....4....0....6
%e ..5....4....0....2....6....2....2....5....5....5....1....2....5....1....4....3
%e ..5....6....6....2....0....2....0....4....0....2....4....0....0....3....2....4
%e ..3....3....0....0....5....0....6....6....3....6....1....3....4....6....4....0
%Y Cf. A221524.
%K nonn
%O 1,2
%A _R. H. Hardin_, Jan 19 2013