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 · a_1

Source:OEIS conjectures
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

Value of the sequence a at 1.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.06778 [math.NT] · NS.06778v1 for this version
Declaration:OeisA70518.a_1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
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 a_1 : a 1 = 0
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.a_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk oeis-70518--a-1      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch oeis-70518--a-1
nosorry submit oeis-70518--a-1 nosorry/oeis-70518--a-1/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.