|
|
A221465
|
|
Number of 0..n arrays of length 6 with each element unequal to at least one neighbor, starting with 0.
|
|
1
|
|
|
5, 88, 513, 1856, 5125, 11880, 24353, 45568, 79461, 131000, 206305, 312768, 459173, 655816, 914625, 1249280, 1675333, 2210328, 2873921, 3688000, 4676805, 5867048, 7288033, 8971776, 10953125, 13269880, 15962913, 19076288, 22657381, 26757000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 1*n^5 + 3*n^4 + 1*n^3.
G.f.: x*(5 + 58*x + 60*x^2 - 2*x^3 - x^4) / (1 - x)^6.
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>6.
(End)
|
|
EXAMPLE
|
Some solutions for n=6:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..4....1....4....1....2....6....5....3....4....3....6....2....2....4....5....5
..6....1....2....0....0....5....3....5....6....3....5....6....3....5....4....1
..5....3....4....0....2....3....4....0....4....2....4....2....1....0....1....6
..4....1....4....6....6....1....1....0....5....2....1....5....6....5....5....6
..2....0....3....2....1....3....3....6....0....0....0....1....1....1....2....2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|