Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Continued fractions and class groups

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Let ddd be a positive integer. It is well-known (due to Lagrange) that the continued fraction of d\sqrt{d}d​ is eventually periodic. Moreover, it is known that the equation

x2−dy2=−1\displaystyle x^2 - dy^2 = -1x2−dy2=−1

is soluble in integers x,yx,yx,y if and only if the continued fraction of d\sqrt{d}d​ has odd period.

An alternative criterion is given in terms of the class group CL(Kd)\text{CL}(K_d)CL(Kd​) of Kd=Q(d)K_d = \mathbb{Q}(\sqrt{d})Kd​=Q(d​) and the narrow class group CL♯(Kd)\text{CL}^\sharp(K_d)CL♯(Kd​). The difference is that the former mods out all principal ideals, while the latter only mods out principal ideals of positive norm. Indeed, we see that the above equation, which exactly identifies when OKd\mathcal{O}_{K_d}OKd​​ has a unit of norm −1-1−1, implies that the two groups are equal. The converse is also true.

More precisely, we don't need to look at the entire class group/narrow class group, but only the 2k2^k2k-torsion subgroups for k=1,2,⋯k = 1, 2, \cdotsk=1,2,⋯. Indeed, we have the following alternative criterion: the equation x2−dy2=−1x^2 - dy^2 = -1x2−dy2=−1 is soluble in integers x,yx,yx,y if and only if CL(Kd)[2k]≅CL♯(Kd)[2k]\text{CL}(K_d)[2^k] \cong \text{CL}^\sharp(K_d)[2^k]CL(Kd​)[2k]≅CL♯(Kd​)[2k] for all k≥1k \geq 1k≥1 (note by the finiteness of the class group, both sides eventually stabize).

Is there deeper connection between continued fractions of d\sqrt{d}d​ and the 2k2^k2k-torsion criterion above?

For instance, we know that for all primes p≡1(mod4)p \equiv 1 \pmod{4}p≡1(mod4) the equation x2−py2=−1x^2 - py^2 = -1x2−py2=−1 is soluble, which means that for any such prime p\sqrt{p}p​ always has odd period. Is there any reason why one should believe this looking only from the continued fraction side?

Statement and context adapted from MathOverflow · Stanley Yao Xiao

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.
Group / abelian group
A set with an associative operation, an identity and an inverse for each element. It is abelian when swapping the order of two elements does not change their product.

Topics : nt.number-theory · continued-fractions

Authors listed by the source : Stanley Yao Xiao

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : July 20, 2020

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni