Python tools for reducing, enumerating, and composing binary quadratic forms, accompanying our paper Primes and Quadratic Forms.
-
Updated
Nov 6, 2025 - Python
Python tools for reducing, enumerating, and composing binary quadratic forms, accompanying our paper Primes and Quadratic Forms.
N = n₁ + n₂ with n₁, n₂ sums of two squares (or values of any class number one form) and Ω(n₁n₂) ≤ 11, max Ω(nᵢ) ≤ 8: paper, linear vector sieve with switching and Richert weights, interval-arithmetic certification.
Primes p ≤ N with N − p an almost prime sum of two squares (Ω ≤ 9): paper, semi-linear vector sieve with Richert weights and switching, and an interval-arithmetic certification script.
To associate your repository with the binary-quadratic-forms topic, visit your repo's landing page and select "manage topics."