|
|
A028420
|
|
Number of monomer-dimer tilings of n X n chessboard.
|
|
13
|
|
|
1, 1, 7, 131, 10012, 2810694, 2989126727, 11945257052321, 179788343101980135, 10185111919160666118608, 2172138783673094193937750015, 1743829823240164494694386437970640, 5270137993816086266962874395450234534887, 59956919824257750508655631107474672284499736089
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Also the total number of matchings (not necessarily perfect ones; i.e., Hosoya index) in the n X n grid. - Andre Poenitz (poenitz(AT)htwm.de), Nov 20 2003
|
|
REFERENCES
|
Steven R. Finch, Mathematical Constants, Cambridge, 2003, pp. 406-412.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Matching
|
|
MAPLE
|
b:= proc(n, l) option remember; local k;
if n=0 then 1
elif min(l)>0 then (t-> b(n-t, map(h->h-t, l)))(min(l))
else for k while l[k]>0 do od; `if`(k<nops(l) and
l[k+1]=0, b(n, subsop(k=1, k+1=1, l)), 0)+add(
`if`(n<j, 0, b(n, subsop(k=j, l))), j=1..2)
fi
end:
a:= n-> b(n, [0$n]):
|
|
MATHEMATICA
|
Table[With[{g = GridGraph[{n, n}]}, Count[Subsets[EdgeList[g], Length @ Flatten @ FindIndependentEdgeSet[g]], _?(IndependentEdgeSetQ[g, #] &)]], {n, 4}] (* Eric W. Weisstein, May 28 2017 *)
b[n_, l_] := b[n, l] = Module[{k}, Which[
n == 0, 1,
Min[l] > 0, Function[t, b[n-t, Map[#-t&, l]]][Min[l]],
True, For[k = 1, l[[k]] > 0, k++]; If[k < Length[l] &&
l[[k+1]] == 0, b[n, ReplacePart[l, {k -> 1, k+1 -> 1}]], 0] +
Sum[If[n<j, 0, b[n, ReplacePart[l, k -> j]]], {j, 1, 2}]]];
a[n_] := b[n, Table[0, {n}]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,nice
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|