login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A336286
The hafnian of a symmetric Toeplitz matrix of order 2n, n>=2 with the first row (0,1,2,...,2,0); a(0)=a(1)=1.
11
1, 1, 5, 57, 859, 16087, 362781, 9593105, 291347603, 9998539791, 382732896853, 16169762600329, 747423640472235, 37523173542935207, 2033249827596197549, 118278700627740322977, 7352204062275501662371
OFFSET
0,3
COMMENTS
Number of perfect matchings of an arc diagram with 2*n vertices, where neighboring vertices are joined by one arc, the vertices 1 and 2*n are not adjacent if n>=2, and all other pairs of vertices are joined by two arcs.
FORMULA
a(n) = Sum_{k=0..n} (-1)^(n-k-1)*(n+k-1)!*(-3*n+k)/(k!*(n-k)!), n>=2.
D-finite with recurrence a(n+1) = (4n+4)*a(n) - (8n-13)*a(n-1) - 2*a(n-2), n>=4.
D-finite with recurrence a(n+1) = ((32*n^2-12*n+2)*a(n) + (8*n+1)*a(n-1))/(8*n-7), n>=3.
a(n) = |A002119(n)| - 2*|A002119(n-1)|, n>=2.
a(n) ~ (2*n)!/sqrt(e)*n!.
EXAMPLE
A symmetric 4 X 4 Toeplitz matrix A with the first row (0,1,2,0) has the form:
0 1 2 0
1 0 1 2
2 1 0 1
0 2 1 0.
Its hafnian equals Hf(A)= a12*a34 + a13*a24 + a14*a23 = 1*1 + 2*2 + 0*1 = 5.
MAPLE
[1, 1, seq(add((-1)^(n-k-1)*(n+k-1)!*(-3*n+k)/(k!*(n-k)!), k=0..n), n=2..32)] # Georg Fischer, Jun 05 2021
MATHEMATICA
Join[{1, 1}, RecurrenceTable[{a[n+1] == (4*n+4)*a[n]-(8*n-13)*a[n-1]-2*a[n-2], a[2]==5, a[3]==57, a[4]==859}, a[n], {n, 2, 32}]] (* Georg Fischer, Jun 05 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Dmitry Efimov, Jul 16 2020
STATUS
approved