We say that a set S = {x1, x2, ..., xn} is factor closed if for any xi ∈ S and any divisor d of xi we have d ∈ S. Let’s build a GCD matrix (S) = (sij), where sij = GCD(xi, xj) – the greatest common divisor of xi and xj. Given the factor closed set S, find the value of the determinant:
__poj_jax_start__D_n = \left|{\begin{array}{ccccc}gcd(x_1,x_1)&gcd(x_1,x_2)&gcd(x_1,x_3)&\cdots&gcd(x_1,x_n)\\gcd(x_2,x_1)&gcd(x_2,x_2)&gcd(x_2,x_3)&\cdots&gcd(x_2,x_n)\\gcd(x_3,x_1)&gcd(x_3,x_2)&gcd(x_3,x_3)&\cdots&gcd(x_3,x_n)\\\cdots&\cdots&\cdots&\cdots&\cdots\\gcd(x_n,x_1)&gcd(x_n,x_2)&gcd(x_n,x_3)&\cdots&gcd(x_n,x_n)\end{array}}\right|__poj_jax_end__