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.
Negative Pell is soluble exactly for odd period length
Statement
Let be the period length of the regular continued fraction of . Then the negative Pell equation has an integral solution if and only if is odd.
When is odd, the convergent gives the least positive solution of , and the least positive solution of is the convergent . When is even, the least positive norm-one solution is .
Facts & Assumptions
Given: A positive nonsquare integer , the period length of , and the convergents of .
The continued fraction of has period and the first returned reduced state satisfies (The continued fraction of has symmetric period ending in )
For each complete quotient, one has and if then (Complete quotients in the continued-fraction algorithm)
The complete quotients satisfy (The complete quotients of satisfy the recurrence)
The convergents satisfy (Convergents to satisfy the norm identity).
If a reduced rational number satisfies then is a convergent of (Legendre's criterion for convergents).
Proof
Applying [F4] at and using from [F1] gives Hence odd yields a negative-Pell solution at , while even yields a positive norm-one solution there.
Conversely, suppose satisfy . Then Because , one has , so , and therefore Hence Since follows from , fact [F5] shows that for some convergent.
By [F1] and [F3], the returned state at one full period is Since , fact [F2] gives Thus one full period returns the complete-quotient algorithm to ; because the digits from onward repeat with period , the same computation one period later gives , hence . Applying [F4] at yields Thus is a positive norm-one solution.
For that index , [F4] gives Since is a positive integer, it follows that Facts [F2] and [F3] then give So the digit block from onward repeats with period . Because is the period length, divides . Since is odd, must be odd.
Step 2.1 shows that every positive negative-Pell solution comes from a convergent index with even and , so the first such index is . Now let satisfy . Then Because , one has , so , and therefore Hence Since , [F5] shows that for some convergent. Applying [F4] gives so As in step 2.1, facts [F2] and [F3] then give , so divides . Therefore the first possible norm-one index is when is even and when is odd. Convergent denominators strictly increase, and for positive solutions of the value of is determined by , so the first convergent of each type gives the least positive solution. Therefore, when is odd, is the least positive negative-Pell solution and is the least positive norm-one solution, while when is even, is the least positive norm-one solution.
Depends on
- Pell's equation
- Generalized and negative Pell equations
- Complete quotients in the continued-fraction algorithm
- The complete quotients of $\sqrt{D}$ satisfy the $P_n,Q_n$ recurrence
- Convergents to $\sqrt{D}$ satisfy the norm identity
- The continued fraction of $\sqrt{D}$ has symmetric period ending in $2a_0$
- Legendre's criterion for convergents
Used by
Dependency tree · two levels
17 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
- Peter Hackman, Elementary Number Theory (standard reference, not scraped)
- Keith Conrad, Pell's Equation, I (standard reference, not scraped)
- MIT 18.781, Lecture 21: Brahmagupta-Pell Equation (standard reference, not scraped)