|
|
A218836
|
|
Unmatched value maps: number of n X 2 binary arrays indicating the locations of corresponding elements not equal to any horizontal or antidiagonal neighbor in a random 0..1 n X 2 array.
|
|
10
|
|
|
1, 2, 7, 21, 65, 200, 616, 1897, 5842, 17991, 55405, 170625, 525456, 1618192, 4983377, 15346786, 47261895, 145547525, 448227521, 1380359512, 4250949112, 13091204281, 40315615410, 124155792775, 382349636061, 1177482265857, 3626169232672, 11167134898976
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1) +3*a(n-2) +a(n-3).
G.f.: Q(0)/2 , where Q(k) = 1 + 1/(1- x*(4*k+2 +3*x+x^2)/(x*(4*k+4 +3*x+x^2) + 1/Q(k+1))); (continued fraction). - Sergei N. Gladkovskii, Oct 04 2013
|
|
EXAMPLE
|
Some solutions for n=3
..1..1....1..1....0..0....1..0....0..0....1..0....0..0....1..1....0..0....1..0
..1..1....1..1....0..1....0..1....0..0....0..0....0..0....0..0....0..1....0..0
..1..1....0..0....0..0....1..1....0..1....1..1....1..1....1..1....1..1....0..1
|
|
MAPLE
|
a:= n-> (<<0|1|0>, <0|0|1>, <1|3|2>>^n. <<1, 2, 7>>)[1$2]:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(0)=1 prepended and first g.f. adapted by Alois P. Heinz, Apr 21 2020
|
|
STATUS
|
approved
|
|
|
|