Sharedsupport / 2014-11-17-quadratic-forms.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
BinaryQF_reduced_representatives(-47)
[x^2 + x*y + 12*y^2, 2*x^2 - x*y + 6*y^2, 2*x^2 + x*y + 6*y^2, 3*x^2 - x*y + 4*y^2, 3*x^2 + x*y + 4*y^2]
for f in BinaryQF_reduced_representatives(-47): print list(f)
[1, 1, 12] [2, -1, 6] [2, 1, 6] [3, -1, 4] [3, 1, 4]