Paper 3, Section II, I
Part II, 2021
State what it means for two binary quadratic forms to be equivalent, and define the class number .
Let be a positive integer, and let be a binary quadratic form. Show that properly represents if and only if is equivalent to a binary quadratic form
for some integers and .
Let be an integer such that or . Show that is properly represented by some binary quadratic form of discriminant if and only if is a square modulo .
Fix a positive integer . Show that is composite for some integer such that if and only if is a square modulo for some prime .
Deduce that if and only if is prime for all .