Binary quadratic form