WORKED DEFAULT
Check the calculation with the default inputs
For a = 1001 and n = 9907, reciprocity reductions finish with Jacobi symbol (1001/9907) = -1.
- Normalize1001 modulo 9907
- Apply reciprocityRemove twos and swap odd terms
- Read sign(1001/9907) = -1