Left to Solve
Problems / MathOverflow (not formalized)

Research of average number of equivalence classes of solutions to generalised Pell's equation

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

Statement of the problem

Firstly, consider the infamous Pell's equation: . Here and are integers and is a nonsquare integer. It is known ([3]) that all solutions of this equation can be obtained from the solution with least positive called the fundamental solution. By the way, it is convenient to write solutions in the form . This way if we denote the fundamental solution by then the -th solution will be . And I need to note here that this equation is always solvable because we can obtain the fundamental solution from the continued fraction expansion of .

Now, let's look at the generalised Pell's equation: . Here , and are integers and is a nonsquare integer. It turns out ([1],[2]) that the solutions (if it's solvable, cause it may not have a solution) all have quite a simple structure: $ \eta_{m}\epsilon_{0}^{k}, 1\leq m\leq h,k \geq 0. $ Where is the fundamental (with least positive component) solution of -th equivalence class and is the fundamental solution of standard Pell's …

Posed by Paul Woolfer · nt.number-theory, analytic-number-theory

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-439145.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-439145.lean

import Mathlib

/-!
# Research of average number of equivalence classes of solutions to generalised Pell's equation

Source: https://mathoverflow.net/questions/439145
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_439145

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_439145