|
|
A241125
|
|
Number of n X 2 0..2 arrays with no element equal to exactly two horizontal and vertical neighbors, with new values 0..2 introduced in row major order.
|
|
1
|
|
|
2, 9, 54, 325, 1965, 11876, 71793, 434007, 2623694, 15861001, 95884409, 579649484, 3504151829, 21183629803, 128061281038, 774168159805, 4680074530261, 28292428888436, 171036065180937, 1033963386740399, 6250613190784174
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 6*a(n-1) + 2*a(n-2) - 9*a(n-3) - 10*a(n-4) + 8*a(n-5) for n>6.
Empirical g.f.: x*(1 - x)*(1 - 2*x)*(2 + 3*x + x^2 - 2*x^3) / (1 - 6*x - 2*x^2 + 9*x^3 + 10*x^4 - 8*x^5). - Colin Barker, Oct 29 2018
|
|
EXAMPLE
|
Some solutions for n=4:
..0..1....0..1....0..0....0..1....0..1....0..1....0..1....0..1....0..0....0..1
..1..2....0..1....1..2....2..0....0..2....1..0....1..0....1..2....1..2....0..1
..2..0....1..2....0..1....0..1....1..1....0..1....1..2....1..0....0..2....1..0
..1..1....2..0....1..2....0..1....2..2....0..2....2..0....0..1....0..1....1..0
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|