In this paper, we study arithmetic properties of certain determinants involving powers of \(i^2+cij+dj^2\) , where c and d are integers. For example, for any odd integer \(n>1\) with \((\frac{d}{n})=-1\) we prove that \(\det [(\frac{i^2+cij+dj^2}{n})]_{0\leqslant i,j\leqslant n-1}\) is divisible by \(\varphi (n)^2\) , where \((\frac{\cdot }{n})\) is the Jacobi symbol and \(\varphi \) is Euler’s totient function. This confirms a previous conjecture of Sun.