OFFSET
1,1
COMMENTS
The author has proved that a(n) is always an integer, and that a((p-1)/2) == -2*p (mod p^2) for any odd prime p.
Conjecture 1: a(n)/(2n+1) is always a positive integer congruent to 1 modulo 4.
Conjecture 2: We have (n+1)*a(n) == 0 (mod (2n+1)!!) for all n > 0.
LINKS
Zhi-Wei Sun, Arithmetic properties of some permanents, arXiv:2108.07723 [math.GM], 2021.
EXAMPLE
a(1) = 3 since the permanent of the matrix [tan(Pi*(1+1)/3,tan(Pi*(1+2)/3; tan(Pi*(2+1)/3),tan(Pi*(2+2)/3)] = [-sqrt(3),0; 0,sqrt(3)] is -3.
MATHEMATICA
a[n_]:=a[n]=(-1)^n*Permanent[Table[Tan[Pi*(j+k)/(2n+1)], {j, 1, 2n}, {k, 1, 2n}]]
(* Actually Mathematica could not yield the exact value of a(n) for a general n > 0. Instead, we find an approximate value of a(n) via Mathematica, such as N[a[3], 10] = 1995.000000. *)
PROG
(PARI) a(n) = (-1)^n*round(matpermanent(matrix(2*n, 2*n, j, k, tan(Pi*(j+k)/(2*n+1))))); \\ Michel Marcus, Aug 22 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Aug 22 2021
EXTENSIONS
a(7)-a(12) from Michel Marcus, Aug 22 2021
a(13)-a(16) from Vaclav Kotesovec, Aug 22 2021
STATUS
approved