Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-28
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.

The complete quotients of D satisfy the Pn,Qn recurrence

Statement

Let D be a positive integer that is not a square, let α0:=D, and let an,αn be the continued-fraction digits and complete quotients of D. Then there are unique integer pairs (Pn,Qn) with P0=0,Q0=1, such that for every n0, αn=D+PnQn,Qn>0,QnDPn2. Moreover, if an=αn, then Pn+1=anQnPn,Qn+1=DPn+12Qn,αn+1=D+Pn+1Qn+1.

Facts & Assumptions

Given: A positive nonsquare integer D, the real number α0=D, and its complete quotients αn.

[F1]

For each complete quotient αn, the continued-fraction algorithm chooses the unique integer an with anαn<an+1, and if αnan then αn+1=1/(αnan) (Complete quotients in the continued-fraction algorithm).

Proof

technique · direct
1.1

At n=0 one has α0=D=D+01, so the claimed form holds with P0=0 and Q0=1, and certainly Q0>0 and Q0DP02=D.

givenbasealgebra
1.2

Assume αn=D+PnQn,Qn>0,QnDPn2. Let an be the integer from [F1], and set Pn+1:=anQnPn. Since αnan>0, one has DPn+1=D+PnanQn>0, so DPn+12>0. Also Pn+1Pn(modQn), hence Pn+12Pn2(modQn) and therefore QnDPn+12. Thus Qn+1:=DPn+12Qn is a positive integer. Rationalizing the denominator now gives αn+1=1αnan=QnDPn+1=D+Pn+1Qn+1.

F1ihalgebra
2.1

If also D+PQ=D+PQ with Q,Q>0, then cross-multiplication gives (QQ)D=QPQP. If QQ, this would make D rational, impossible because D is a positive nonsquare integer. Hence Q=Q, and then P=P. So the normalized pair (Pn,Qn) is unique at each stage. Steps 1.1 and 1.2 therefore prove the statement for all n0.

step 1.1step 1.2discharge-inductionalgebra

Depends on

Used by

Dependency tree · two levels

6 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