Alphabeta Math
PropositionStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

A positive integer n is primitively represented by some discriminant Δ form exactly when Δ is a square modulo 4n

Statement

Let n be a positive integer and let Δ∈Z. Then the following are equivalent:

  1. some integral binary quadratic form of discriminant Δ primitively represents n;
  2. Δ is a square modulo 4n.

Facts & Assumptions

Given: A positive integer n and an integer Δ.

[F1]

A form primitively represents n when n=f(r,s) for some integers r,s with gcd⁡(r,s)=1 (Integers represented, and primitively represented, by a binary quadratic form).

[F2]

The discriminant of (a,b,c) is b2−4ac (The discriminant of a binary quadratic form).

[F3]

Proper equivalence means substitution by a determinant-one integer matrix, and properly equivalent forms have the same discriminant (Proper equivalence of binary quadratic forms, Proper equivalence preserves discriminant and primitivity of the form).

Proof

technique · direct
1.1F1L1givenchoose

Suppose a form f=(a,b,c) of discriminant Δ primitively represents n, say n=f(r,s) with gcd⁡(r,s)=1. By [L1] choose integers t,u with ru−st=1, and put M=(rtsu)∈SL2(Z).

1.2F1F2L2givenconstructalgebra

Conversely, suppose Δ≡b2(mod4n) for some integer b. Then 4n divides b2−Δ, so c:=(b2−Δ)/(4n) is an integer. The form f=(n,b,c) has discriminant Δ, and f(1,0)=n with gcd⁡(1,0)=1, so it primitively represents n.

2.1F2F3step 1.1algebra

The properly equivalent form g=f∣M has leading coefficient g(1,0)=f(r,s)=n, so g=(n,b′,c′) for some integers b′,c′. By [F3], g has the same discriminant Δ, hence Δ=b′2−4nc′, which says exactly that Δ≡b′2(mod4n).

3.1step 2.1step 1.2∎

Step 2.1 proves that primitive representation implies the square congruence, and step 1.2 proves the converse.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

20 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources