HasseWittInvariant(beta, p)
The Hasse-Witt invariant of a diagonal form $\langle a_1,\ldots,a_n\rangle$ over a field $K$ is defined to be the product $\prod_{i<j} \left((a_i,a_j)_p \right)$ where $(-,-)_p$ is the Hilbert symbol.
The Hasse-Witt invariant of a form will be equal to 1 for almost all primes. In particular after diagonalizing a form $\beta \cong \left\langle a_1,\ldots,a_n\right\rangle$ then the Hasse-Witt invariant at a prime $p$ will be 1 automatically if $p\nmid a_i$ for all $i$. Thus we only have to compute the invariant at primes dividing diagonal entries.
|
|
The object HasseWittInvariant is a method function.