Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Smallest palindrome with exactly nn divisors

Source:OEIS conjectures
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

There are no palindromic numbers greater than 1 which are the fifth or higher power of a natural number.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.06902 [math.NT] · NS.06902v1 for this version
Declaration:OeisA83753.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:cbcaf789ced9fc4c35401a14d04fad95b09f96e426b8a1f34bf213e9a981d5ff
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/83753.lean

Formal statement

theorem conjecture (m k : ℕ) (hm : 1 < m) (hpal : IsDecimalPalindrome m) (hk : 5 ≤ k) :
    ¬ ∃ x : ℕ, m = x ^ k
Show the full Challenge.lean (99 lines) — definitions included
module

public import FormalConjecturesUtil


/-!
# Smallest palindrome with exactly $n$ divisors

The sequence $a(n)$ is the smallest palindromic number with exactly $n$ divisors, or $0$
if no such number exists.

*References:*
- [A083753](https://oeis.org/A083753)-/

@[expose] public section

namespace OeisA83753

/-- A natural number $m$ is a decimal palindrome if its base-$10$ digits read the same
forwards and backwards. -/
def IsDecimalPalindrome (m : ℕ) : Prop :=
  Nat.digits 10 m = (Nat.digits 10 m).reverse

instance (m : ℕ) : Decidable (IsDecimalPalindrome m) :=
  inferInstanceAs (Decidable (Nat.digits 10 m = (Nat.digits 10 m).reverse))

open Classical in
/-- Smallest positive palindrome with exactly $n$ divisors, or $0$ if no such number exists. -/
noncomputable def a (n : ℕ) : ℕ :=
  if h : ∃ m, 0 < m ∧ IsDecimalPalindrome m ∧ (Nat.divisors m).card = n then
    Nat.find h
  else
    0

/-- Value of the sequence `a` at 1. -/
@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by
  classical
  dsimp [a]
  split_ifs with h
  · rw [Nat.find_eq_iff]
    decide
  · exact (h ⟨1, by decide⟩).elim

/-- Value of the sequence `a` at 2. -/
@[category test, AMS 11]
theorem a_2 : a 2 = 2 := by
  classical
  dsimp [a]
  split_ifs with h
  · rw [Nat.find_eq_iff]
    decide
  · exact (h ⟨2, by decide⟩).elim

/-- Value of the sequence `a` at 3. -/
@[category test, AMS 11]
theorem a_3 : a 3 = 4 := by
  classical
  dsimp [a]
  split_ifs with h
  · rw [Nat.find_eq_iff]
    decide
  · exact (h ⟨4, by decide⟩).elim

/-- Value of the sequence `a` at 4. -/
@[category test, AMS 11]
theorem a_4 : a 4 = 6 := by
  classical
  dsimp [a]
  split_ifs with h
  · rw [Nat.find_eq_iff]
    decide
  · exact (h ⟨6, by decide⟩).elim

/--
There are no palindromic numbers greater than 1 which are the fifth or higher power of a natural
number.-/
@[category research open, AMS 11]
theorem conjecture (m k : ℕ) (hm : 1 < m) (hpal : IsDecimalPalindrome m) (hk : 5 ≤ k) :
    ¬ ∃ x : ℕ, m = x ^ k := by
  sorry

end OeisA83753

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA83753.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-83753
nosorry submit oeis-83753 nosorry/oeis-83753/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.