Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 24F b iii Solution Created 2026-09-24 Updated 2026-10-03
For , the divisor has negative degree, so . The Riemann-Roch theorem givesStarting from and using part (ii), each integer contributes one to exactly when it is not a gap. ThereforeComparison with the preceding formula gives . Moreover every is a nongap because the Riemann--Roch formula makes every subsequent dimension jump equal to one. Thus the Weierstrass gap theorem says