OFFSET
0,3
COMMENTS
LINKS
Zhongshan Li, The determinants of GCD matrices, Linear Algebra Appl. 134 (1990), 137-143.
FORMULA
a(n) = Product_{k=1..n} phi(2*k-1), confirming the empirical observation above. This is because the set {1, 3, ..., 2n-1} is factor-closed. See the Li link. - Sela Fried, Feb 05 2026
MAPLE
A177066 := proc(n) M := Matrix(n) ; for i from 1 to n do for j from 1 to n do M[i, j] := igcd(2*i-1, 2*j-1) ; end do: end do: LinearAlgebra[Determinant](M) ; end proc: # R. J. Mathar, Dec 10 2010
MATHEMATICA
a[n_]:=Det[Table[GCD[2i-1, 2j-1], {i, n}, {j, n}]]; Join[{1}, Array[a, 21]] (* Stefano Spezia, Feb 06 2026 *)
PROG
(PARI) a(n) = matdet(matrix(n, n, i, j, gcd(2*i-1, 2*j-1))); \\ Michel Marcus, Feb 06 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
John W. Layman, Dec 09 2010
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Feb 05 2026
STATUS
approved
