Alphabeta Math
Session-authored (Fable 5 assisted)
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.

12 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 8 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Pell Equations and Generalized Pell Orbits

1 · Prerequisites

2 · Summary

Pell's equation is where the continued-fraction machinery of D stops being a theory of approximation and becomes a machine for producing integer solutions. This page follows the explicit-order route of the design: it works inside Z[D], proves the coordinate multiplication and norm laws there directly, and uses the specialized Pn,Qn recurrence for D to read period parity off the continued fraction.

Once the fundamental solution is in hand, the positive norm-one solutions are exactly its powers. The same unit then organizes every nonzero generalized Pell equation into finitely many orbits, with explicit representative bounds and an immediate finite-search decidability corollary.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Pell's equation

Definition

Fix a positive integer D that is not a square. The Diophantine equation x2Dy2=1,x,yZ, is Pell's equation for D.

An integral solution of Pell's equation is a pair (x,y)Z2 satisfying the displayed equation. A positive nontrivial solution is an integral solution with x>0,y>0. The adjective "nontrivial" excludes the obvious solutions (±1,0).

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Generalized and negative Pell equations

Definition

Keep the same positive nonsquare integer D as in Pell's equation, and let NZ with N0. The equation x2Dy2=N,x,yZ, is the generalized Pell equation for (D,N).

The special case x2Dy2=1 is the negative Pell equation for D.

The restriction N0 is part of the present convention: the page studies the nonzero norm classes whose solutions move by multiplication with norm-one Pell solutions.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The norm on the explicit order Z[D]

Definition

Fix a positive integer D that is not a square. Write Z[D]:={x+yD:x,yZ}, viewed only as the explicit rank-two order of such expressions. Its coordinate operations are

(x+yD)+(u+vD)=(x+u)+(y+v)D

and

(x+yD)(u+vD)=(xu+Dyv)+(xv+yu)D.

The conjugate of α=x+yDZ[D] is α:=xyD. The Pell norm of α is ND(α):=αα=x2Dy2.

Because D is not a square, D is irrational, so equal expressions x+yD=u+vD have equal coefficients x=u and y=v.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The Pell norm is multiplicative

Statement

Let α=x+yD,β=u+vDZ[D]. Then αβ=(xu+Dyv)+(xv+yu)D, and the Pell norm is multiplicative: ND(αβ)=ND(α)ND(β).

Facts & Assumptions

Given: Two elements α=x+yD and β=u+vD of Z[D].

[F1]

In Z[D], one has

(x+yD)(u+vD)=(xu+Dyv)+(xv+yu)D

and ND(x+yD)=x2Dy2. (The norm on the explicit order Z[D]).

Proof

technique · direct
1.1

Fact [F1] gives the coordinate product formula immediately: αβ=(xu+Dyv)+(xv+yu)D.

F1
2.1

Applying the norm formula from [F1] to step 1.1 and expanding gives ND(αβ)=(xu+Dyv)2D(xv+yu)2=(x2Dy2)(u2Dv2)=ND(α)ND(β).

F1step 1.1algebra
PropositionStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Integral Pell solutions form an abelian group

Statement

Fix a positive nonsquare integer D, and identify an integral solution (x,y) of Pell's equation with the element x+yDZ[D]. Then the set GD:={αZ[D]:ND(α)=1} is an abelian group under multiplication in Z[D].

Facts & Assumptions

Given: The set GD={αZ[D]:ND(α)=1}.

[F1]

For α=x+yDZ[D], the equality ND(α)=1 is exactly the equation x2Dy2=1, so GD is the set of integral Pell solutions written as elements of Z[D] (Pell's equation, The norm on the explicit order Z[D]).

[F2]

The Pell norm is multiplicative: ND(αβ)=ND(α)ND(β) for all α,βZ[D] (The Pell norm is multiplicative).

[F3]

In Z[D], the product is

(x+yD)(u+vD)=(xu+Dyv)+(xv+yu)D.

(The norm on the explicit order Z[D]).

Proof

technique · direct
1.1

The element 1=1+0D satisfies ND(1)=1, so it lies in GD. If α,βGD, then [F2] gives ND(αβ)=ND(α)ND(β)=1, so αβGD.

F1F2givenalgebra
1.2

If α=x+yDGD, then [F1] gives x2Dy2=1, hence α(xyD)=x2Dy2=1. Therefore α1=xyDGD, since ND(xyD)=1 by [F1].

F1givenalgebra
2.1

Associativity is inherited from multiplication of real numbers, and [F3] is symmetric in (x,y) and (u,v), so multiplication on GD is commutative. Together with steps 1.1 and 1.2, this proves that GD is an abelian group.

F3step 1.1step 1.2algebra
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

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
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Convergents to D satisfy the norm identity

Statement

Let D be a positive nonsquare integer, let pn/qn be the convergents of D, and let Pn,Qn be the complete-quotient state variables from The complete quotients of D satisfy the Pn,Qn recurrence. Then for every n0, pn2Dqn2=(1)n+1Qn+1.

Facts & Assumptions

Given: A positive nonsquare integer D, the convergents pn/qn of D, and the state variables Pn,Qn.

[F1]

The complete-quotient tail formula gives D=αn+1pn+pn1αn+1qn+qn1 for every n0 (Complete-quotient tail formula).

[F2]

Consecutive convergents satisfy pnqn1pn1qn=(1)n1. (Determinant identity for consecutive convergents).

[F3]

The next complete quotient has the form αn+1=D+Pn+1Qn+1 with Qn+1>0 (The complete quotients of D satisfy the Pn,Qn recurrence).

Proof

technique · direct
1.1

Substitute the expression from [F3] into [F1] and clear denominators. One gets D((D+Pn+1)qn+Qn+1qn1)=(D+Pn+1)pn+Qn+1pn1. Comparing the rational and irrational coefficients of 1 and D yields Dqn=Pn+1pn+Qn+1pn1,pn=Pn+1qn+Qn+1qn1.

F1F3algebra
2.1

Multiply the second identity of step 1.1 by pn, the first by qn, and subtract. Then pn2Dqn2=Qn+1(pnqn1pn1qn)=(1)n+1Qn+1 by [F2].

F2step 1.1algebra
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The continued fraction of D has symmetric period ending in 2a0

Statement

Let D be a positive integer that is not a square, let a0:=D, and let D=[a0;a1,a2,] be its regular continued fraction. Then there is an integer 1 such that D=[a0;a1,,a1,2a0], with aj=aj(1j<). For the state variables of The complete quotients of D satisfy the Pn,Qn recurrence, the first returned reduced state is P=a0,Q=1.

Facts & Assumptions

Given: A positive nonsquare integer D, the continued-fraction digits an of D, and the state variables Pn,Qn.

[F1]

The complete quotients satisfy αn=D+PnQn,Pn+1=anQnPn,Qn+1=DPn+12Qn, with P0=0, Q0=1, each Qn>0, and each QnDPn2 (The complete quotients of D satisfy the Pn,Qn recurrence).

Proof

technique · induction
1.1

For every n0, [F1] and the floor inequality anαn<an+1 give Pn+1=anQnPn<D. Also αn>1 for n1, so Qn<D+Pn<2D. Since Pn<D for n1, the recurrence in [F1] gives QnPn+1+Pn<D+Pn+1, and therefore Qn+1=(DPn+1)(D+Pn+1)Qn>DPn+1. Hence Pn<D<Pn+Qn(n1). So for n1 the pair (Pn,Qn) lies in the finite set of integer pairs with D<P<D and 0<Q<2D.

F1algebra
2.1

Let S be the finite set of integer pairs (P,Q) satisfying Q>0,QDP2,P<D<P+Q. Step 1.1 shows that every (Pn,Qn) with n1 lies in S, and [F1] defines a successor map T:SS. This map is bijective: given (P,Q)S, put Q:=D(P)2Q. The interval (DQ,D) has irrational endpoints and length Q, so it contains exactly one integer P in the residue class P(modQ). Then a:=P+PQZ,P=aQP,Q=D(P)2Q, so T(P,Q)=(P,Q). Since the orbit of (P1,Q1) stays in the finite set S, there is a least 1 with T(P1,Q1)=(P1,Q1), that is, (P+1,Q+1)=(P1,Q1).

F1step 1.1constructalgebra
3.1

The recurrence at n=0 gives P1=a0,Q1=Da02. Apply the inverse construction of step 2.1 to (P1,Q1). Then Q=Da02Q1=1, and the interval (D1,D) contains the unique integer a0. So the unique predecessor of (P1,Q1) in S is (a0,1). Since (P,Q) is the predecessor of (P1,Q1) along the cycle from step 2.1, one has P=a0,Q=1. The recurrence formula P+1=aQP now gives a=P+P+1=a0+a0=2a0.

F1step 2.1algebra
4.1

We prove by induction on j that Pj=Pj+1(1j),Qj1=Qj+1(1j). The case j=1 is step 3.1 together with Q0=Q=1. Assume it for some j<. Then [F1] gives Qj=DPj2Qj1=DPj+12Qj+1=Qj. Also Pj+1 and Pj are both integers congruent to Pj modulo Qj, and both lie in the interval (DQj,D) by step 1.1; by the uniqueness from step 2.1 they are equal. Thus Pj+1=Pj,Qj=Qj, completing the induction. Therefore, for 1j<, aj=Pj+Pj+1Qj=Pj+1+PjQj=aj.

F1step 1.1step 2.1step 3.1discharge-inductionalgebra
5.1

Steps 2.1, 3.1, and 4.1 show that the continued-fraction digits from a1 onward repeat with period , that the last digit in one period is 2a0, and that the interior digits are palindromic. Hence D=[a0;a1,,a1,2a0],aj=aj (1j<), with first returned reduced state (P,Q)=(a0,1).

step 2.1step 3.1step 4.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Every Pell equation has a positive nontrivial integral solution

Statement

For every positive nonsquare integer D, Pell's equation x2Dy2=1 has a positive nontrivial integral solution.

Facts & Assumptions

Given: A positive nonsquare integer D.

[F1]

If a0=D, then D=[a0;a1,,a1,2a0] for some 1, and the returned state satisfies Q=1 (The continued fraction of D has symmetric period ending in 2a0).

[F2]

The convergents of D satisfy pn2Dqn2=(1)n+1Qn+1. (Convergents to D satisfy the norm identity).

[F3]

The Pell norm is multiplicative on Z[D] (The Pell norm is multiplicative).

Proof

technique · direct
1.1

Let be the period length from [F1]. Applying [F2] at n=1 and using Q=1 gives p12Dq12=(1).

F1F2givenalgebra
2.1

If is even, step 1.1 already gives a norm-one solution. Since q1>0 for every convergent denominator and p12=Dq12+1, one has p1>0 and q1>0, so (p1,q1) is a positive nontrivial solution.

step 1.1algebra
3.1

If is odd, step 1.1 gives p12Dq12=1. Put α:=p1+q1D. Then p1>0 and q1>0 as in step 2.1, and [F3] gives ND(α2)=ND(α)2=(1)2=1. Explicitly, α2=(p12+Dq12)+2p1q1D, so α2 gives a positive nontrivial integral solution of Pell's equation.

F3step 1.1algebra
4.1

Either step 2.1 or step 3.1 supplies the required positive nontrivial solution.

step 2.1step 3.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Negative Pell is soluble exactly for odd period length

Statement

Let be the period length of the regular continued fraction of D. Then the negative Pell equation x2Dy2=1 has an integral solution if and only if is odd.

When is odd, the convergent p1/q1 gives the least positive solution of x2Dy2=1, and the least positive solution of x2Dy2=1 is the convergent p21/q21. When is even, the least positive norm-one solution is p1/q1.

Facts & Assumptions

Given: A positive nonsquare integer D, the period length of D, and the convergents pn/qn of D.

[F1]

The continued fraction of D has period [a0;a1,,a1,2a0], and the first returned reduced state satisfies P=a0,Q=1. (The continued fraction of D has symmetric period ending in 2a0)

[F2]

For each complete quotient, one has an=αn, and if αnan then αn+1=1αnan. (Complete quotients in the continued-fraction algorithm)

[F3]

The complete quotients satisfy αn=D+PnQn,Qn>0. (The complete quotients of D satisfy the Pn,Qn recurrence)

[F4]

The convergents satisfy pn2Dqn2=(1)n+1Qn+1. (Convergents to D satisfy the norm identity).

[F5]

If a reduced rational number r/s satisfies Drs<12s2, then r/s is a convergent of D (Legendre's criterion for convergents).

Proof

technique · direct
1.1

Applying [F4] at n=1 and using Q=1 from [F1] gives p12Dq12=(1). Hence odd yields a negative-Pell solution at p1/q1, while even yields a positive norm-one solution there.

F1F4algebra
1.2

Conversely, suppose x,y>0 satisfy x2Dy2=1. Then 0<Dxy=1y(x+yD). Because D2, one has x2=Dy21y2, so xy, and therefore x+yD>2y. Hence Dxy<12y2. Since gcd(x,y)=1 follows from x2Dy2=1, fact [F5] shows that x/y=pn/qn for some convergent.

F5givenalgebra
1.3

By [F1] and [F3], the returned state at one full period is α=D+PQ=D+a0. Since α=2a0, fact [F2] gives α+1=1αα=1Da0=α1. Thus one full period returns the complete-quotient algorithm to α1; because the digits from a1 onward repeat with period , the same computation one period later gives α2=D+a0, hence Q2=1. Applying [F4] at n=21 yields p212Dq212=(1)2Q2=1. Thus p21/q21 is a positive norm-one solution.

F1F2F3F4algebra
2.1

For that index n, [F4] gives 1=x2Dy2=pn2Dqn2=(1)n+1Qn+1. Since Qn+1 is a positive integer, it follows that Qn+1=1andn is even. Facts [F2] and [F3] then give αn+1=D+Pn+1,αn+2=1αn+1αn+1=1Da0=α1. So the digit block from a1 onward repeats with period n+1. Because is the period length, divides n+1. Since n+1 is odd, must be odd.

F2F3F4step 1.2algebra
3.1

Step 2.1 shows that every positive negative-Pell solution comes from a convergent index n with n even and (n+1), so the first such index is 1. Now let u,v>0 satisfy u2Dv2=1. Then 0<uvD=1v(u+vD). Because D2, one has u2=Dv2+1>v2, so u>v, and therefore u+vD>2v. Hence Duv<12v2. Since gcd(u,v)=1, [F5] shows that u/v=pn/qn for some convergent. Applying [F4] gives 1=u2Dv2=pn2Dqn2=(1)n+1Qn+1, so Qn+1=1andn is odd. As in step 2.1, facts [F2] and [F3] then give αn+2=α1, so divides n+1. Therefore the first possible norm-one index is 1 when is even and 21 when is odd. Convergent denominators strictly increase, and for positive solutions of x2Dy2=±1 the value of x is determined by x2=Dy2±1, so the first convergent of each type gives the least positive solution. Therefore, when is odd, p1/q1 is the least positive negative-Pell solution and p21/q21 is the least positive norm-one solution, while when is even, p1/q1 is the least positive norm-one solution.

F2F3F4F5step 1.3step 2.1algebra
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-28Open item page →

The fundamental Pell solution

Definition

By Every Pell equation has a positive nontrivial integral solution, the set of positive nontrivial solutions of Pell's equation is nonempty. The fundamental Pell solution is the positive solution

(x1,y1)Z>02,x12Dy12=1,

whose first coordinate x1 is least among all positive solutions.

Write εD:=x1+y1DZ[D]. Since x1>0 and y1>0, one has εD>1.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

All positive Pell solutions are powers of the fundamental solution

Statement

Let εD=x1+y1D be the fundamental Pell solution. Every positive integral solution of x2Dy2=1 is equal to εDk for a unique integer k1.

Facts & Assumptions

Given: The fundamental Pell solution εD=x1+y1D and a positive Pell solution α=x+yD.

[F1]

The element εD is a positive nontrivial norm-one element of Z[D], and its x-coordinate is minimal among positive Pell solutions (The fundamental Pell solution).

[F2]

The norm-one elements of Z[D] form an abelian group under multiplication (Integral Pell solutions form an abelian group).

Proof

technique · direct
1.1

Because εD>1, the positive powers α, αεD1, αεD2, form a strictly decreasing sequence. By [F2], each term is again an integral norm-one element. If β=u+vD is any integral norm-one element with β>1, then 0<β1=uvD<1, so u=β+β12,v=ββ12D>0. Thus every term >1 in the displayed sequence is again a positive Pell solution. Their x-coordinates are positive integers and strictly decrease, because 1<γ<δ with ND(γ)=ND(δ)=1 implies γ1>δ1>0,γ+γ1<δ+δ1, hence the corresponding x-coordinates satisfy x(γ)<x(δ). Therefore only finitely many indices j0 satisfy αεDj>1. The set K:={jZ0:αεDj1} is nonempty because 0K, so it has a greatest element k. Then 1αεDk, and maximality of k gives αεD(k+1)<1. Multiplying the last inequality by εD yields αεDk<εD, so 1αεDk<εD.

F1F2givenalgebra
2.1

Put β:=αεDk. Step 1.1 and [F2] show that β is an integral norm-one element with 1β<εD. If β>1, then step 1.1 shows that β is a positive Pell solution with x-coordinate smaller than x1, contradicting [F1]. Hence β=1, so α=εDk. Because α>1, the exponent cannot be 0, so k1.

F1F2step 1.1algebra
3.1

If also α=εDm=εDn with m<n, then multiplying by εDm inside the group from [F2] gives 1=εDnm, impossible because εD>1. So the exponent of a positive solution is unique.

F1F2step 2.1algebra
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

All integral Pell solutions are ±εDk

Statement

Let εD be the fundamental Pell solution. Every integral solution of x2Dy2=1 is represented uniquely in Z[D] as ±εDk,kZ.

Facts & Assumptions

Given: An integral Pell solution αZ[D].

[F1]

The norm-one elements of Z[D] form an abelian group (Integral Pell solutions form an abelian group).

[F2]

Every positive Pell solution is a unique positive power of εD (All positive Pell solutions are powers of the fundamental solution).

Proof

technique · direct
1.1

The element α is nonzero because ND(α)=1. If α=1 or α=1, then already α=±εD0. Assume now that α±1. If α>1, then α1=1/α satisfies 0<α1<1. Writing α=x+yD, one gets x=α+α12>0,y=αα12D>0, so α is a positive Pell solution. Hence [F2] gives α=εDk for a unique k1. If 0<α<1, then α1>1, so the previous argument shows that α1 is a positive Pell solution; [F1] and [F2] therefore give α1=εDk for a unique k1, hence α=εDk. If α<0, apply the previous positive cases to α, whose norm is still 1. Therefore α=±εDm for some integer m.

F1F2givenalgebra
2.1

The representation is unique. Indeed, if σεDm=τεDn,σ,τ{±1}, then the powers εDm and εDn are positive real numbers, so equality forces σ=τ. After cancelling the common sign, suppose for contradiction that m<n. Then [F1] gives 1=εDnm. Multiplying by εD yields εD=εDnm+1. Both sides are representations of the positive Pell solution εD, so [F2] forces nm+1=1, impossible because m<n. The case n<m is symmetric. Hence m=n.

F1F2step 1.1algebra
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Pell-equivalence for generalized solutions

Definition

Fix a generalized Pell equation x2Dy2=N,N0, as in Generalized and negative Pell equations, and write εD:=x1+y1D for the fundamental Pell solution from The fundamental Pell solution.

Two integral solutions α,βZ[D],ND(α)=ND(β)=N, are Pell-equivalent if β=αεDk for some integer k.

This stays inside the same generalized Pell equation because The Pell norm is multiplicative gives ND(αεDk)=ND(α)ND(εD)k=N, and Integral Pell solutions form an abelian group makes the powers εDk a group.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Generalized Pell solutions fall into finitely many Pell orbits

Statement

Let D be a positive nonsquare integer, let NZ{0}, and let εD>1 be the fundamental Pell solution. Every integral solution x2Dy2=N is Pell-equivalent to a solution x0+y0D satisfying x0N2(εD+εD1/2),y0N2D(εD+εD1/2). Consequently the generalized Pell equation has only finitely many Pell-equivalence classes.

Facts & Assumptions

Given: A nonzero integer N, the fundamental Pell solution εD>1, and a solution α=x+yD of ND(α)=N.

[F1]

Two norm-N solutions are Pell-equivalent exactly when one is obtained from the other by multiplication by a power of εD (Pell-equivalence for generalized solutions).

[F2]

The Pell norm is multiplicative (The Pell norm is multiplicative).

[F3]

The fundamental solution satisfies εD>1 (The fundamental Pell solution).

Proof

technique · direct
1.1

Put t:=αN>0. Because εD>1, the half-open intervals (εDm1/2,εDm+1/2](mZ) partition (0,): their endpoints are strictly ordered, they tend to 0 as m, and they tend to + as m+. Hence there is a unique integer k with εD1/2<tεDkεD1/2. Put α0:=αεDk=x0+y0D. By [F1] and [F2], α0 is Pell-equivalent to α and still satisfies ND(α0)=N.

F1F2F3givenalgebra
2.1

Let β:=α0. Step 1.1 gives NεD1/2<βNεD1/2. Since α0=x0y0D=Nα0, one has α0=NβNεD1/2 and also α0>NεD1/2. Therefore 2x0=α0+α0β+α0N(εD+εD1/2), and similarly 2Dy0=α0α0β+α0N(εD+εD1/2). This is exactly the stated bound.

F2step 1.1algebra
3.1

The bounds of step 2.1 leave only finitely many integer pairs (x0,y0). Every solution is Pell-equivalent to one of them by step 1.1, so only finitely many Pell-equivalence classes occur.

step 1.1step 2.1
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Generalized Pell solubility is decidable by bounded search

Statement

For fixed positive nonsquare D and fixed nonzero NZ, the generalized Pell equation x2Dy2=N is decidable by a finite search over the explicit representative bounds of Generalized Pell solutions fall into finitely many Pell orbits.

Facts & Assumptions

Given: A fixed pair (D,N) with D a positive nonsquare integer and N0.

[F1]

Every solution of x2Dy2=N is Pell-equivalent to a solution in an explicit bounded rectangle, and there are only finitely many Pell-equivalence classes (Generalized Pell solutions fall into finitely many Pell orbits).

Proof

technique · direct
1.1

Step through all integer pairs (x,y) in the finite rectangle supplied by [F1], keep the pairs satisfying x2Dy2=N, and retain one pair from each Pell-equivalence class among those finitely many solutions.

F1given
2.1

By [F1], the search succeeds exactly when the generalized Pell equation has an integral solution, and any retained list of representatives generates every solution by multiplying with powers of the fundamental Pell unit. So the finite search decides solubility.

F1step 1.1
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

One generalized Pell solution generates infinitely many more

Statement

If the generalized Pell equation x2Dy2=N,N0, has one integral solution, then it has infinitely many integral solutions.

Facts & Assumptions

Given: A nonzero solution α=x+yD of ND(α)=N and the fundamental Pell solution εD>1.

[F1]

The Pell norm is multiplicative (The Pell norm is multiplicative).

[F2]

The fundamental Pell solution satisfies εD>1 (The fundamental Pell solution).

Proof

technique · direct
1.1

For every integer k, multiplicativity [F1] gives ND(αεDk)=ND(α)ND(εD)k=N, so each αεDk is again a solution of the same generalized Pell equation.

F1givenalgebra
2.1

These solutions are all distinct: if k<, then [F2] gives αεD=αεDkεDk>αεDk. Hence the first real embeddings have distinct absolute values, so the elements themselves are distinct. Therefore one solution generates infinitely many others.

F2step 1.1algebra

5 · Examples, counterexamples and false statements

None yet.

Sources