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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Value of nn-th cyclotomic polynomial at nn

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

a(28341)a(28341) is divisible by 2834112283411^2. What is the next nn such that a(n)a(n) is not squarefree?

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

Formal statement

theorem conjecture :
    conjecture.answer =
      if h : ∃ n, 28341 < n ∧ ¬ Squarefree (a n) then
        some (sInf {n | 28341 < n ∧ ¬ Squarefree (a n)})
      else
        none
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Value of $n$-th cyclotomic polynomial at $n$

The sequence $a(n) = \Phi_n(n)$ gives the value of the $n$-th cyclotomic polynomial evaluated
at $n$:
$$a(n) = |\Phi_n(n)|$$

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

@[expose] public section

namespace OeisA70518

open Polynomial

/-- Value of the $n$-th cyclotomic polynomial at $n$. -/
noncomputable def a (n : ℕ) : ℕ :=
  ((cyclotomic n ℤ).eval (n : ℤ)).natAbs

/-- Value of the sequence `a` at 1. -/
@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by
  dsimp [a]
  rw [cyclotomic_one]
  simp

/-- Value of the sequence `a` at 2. -/
@[category test, AMS 11]
theorem a_2 : a 2 = 3 := by
  dsimp [a]
  rw [cyclotomic_two]
  simp

/-- Value of the sequence `a` at 3. -/
@[category test, AMS 11]
theorem a_3 : a 3 = 13 := by
  dsimp [a]
  have : Fact (Nat.Prime 3) := ⟨by decide⟩
  rw [cyclotomic_prime ℤ 3]
  simp [Finset.sum_range_succ]

/-- Value of the sequence `a` at 5. -/
@[category test, AMS 11]
theorem a_5 : a 5 = 781 := by
  dsimp [a]
  have : Fact (Nat.Prime 5) := ⟨by decide⟩
  rw [cyclotomic_prime ℤ 5]
  simp [Finset.sum_range_succ]

def conjecture.answer : Option ℕ := sorry

open scoped Classical in
/--
$a(28341)$ is divisible by $283411^2$. What is the next $n$ such that $a(n)$ is not squarefree?
-/
@[category research open, question value, AMS 11]
theorem conjecture :
    conjecture.answer =
      if h : ∃ n, 28341 < n ∧ ¬ Squarefree (a n) then
        some (sInf {n | 28341 < n ∧ ¬ Squarefree (a n)})
      else
        none := by
  sorry

end OeisA70518

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA70518.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-70518
nosorry submit oeis-70518 nosorry/oeis-70518/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.