Left to Solve
Problems / MathOverflow (not formalized)

How often can $(an+1)(bn+1)(cn+1)$ be a square?

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

Statement

Is there any triple of distinct positive integers such that is a perfect square for at least six positive integers ?

An example by Petričević (2023) shows that is a perfect square for at least following five positive integers: . Magma confirms that there are no other solutions in positive integers. Other known examples with at least five solutions are , , , , , , , . However, it is not known whether there exist infinitely many such examples.

There are certain infinite families with at least four positive integer solutions, including those with , for , and , where and .

This is Problem 1.5 from this list https://web.math.pmf.unizg.hr/~duje/pdf/open2.pdf

EDIT (26.6.2026.):

There are new examples with five solutions: with (found by Christopher Sadowski) and with …

Posed by duje · nt.number-theory, elliptic-curves, diophantine-equations

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-511399.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-511399.lean

import Mathlib

/-!
# How often can $(an+1)(bn+1)(cn+1)$ be a square?

Source: https://mathoverflow.net/questions/511399
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_511399

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

theorem main : sorry := by
  sorry

end OMA.S_mo_511399