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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:a(n)a(n) is the integer whose decimal digits are the first n+1n+1 decimal digits of π\pi · a_0

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

No informal statement.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.04841 [math.NT] · NS.04841v1 for this version
Declaration:OeisA11545.a_0
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:de4754196332c0614de6cbead570e4571e254658ac9ebe1e3b9814f6e34a4c88
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/11545.lean

Formal statement

theorem a_0 : a 0 = 3
Show the full Challenge.lean (92 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# $a(n)$ is the integer whose decimal digits are the first $n+1$ decimal digits of $\pi$

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

@[expose] public section

namespace OeisA11545

open Real Int

/-- a n is the integer whose decimal digits are the first $n+1$ decimal digits of $\pi$. -/
noncomputable def a (n : ℕ) : ℕ :=
  (floor (Real.pi * (10 : ℝ) ^ n.cast)).toNat

@[category test, AMS 11]
theorem a_0 : a 0 = 3 := by
  delta a
  norm_num [((Int.floor_eq_iff.mpr _) : ⌊π⌋ = ↑3), Int.toNat, false,
    le_of_lt Real.pi_gt_three, Real.pi_lt_four]

@[category test, AMS 11]
theorem a_1 : a 1 = 31 := by
  simp_all[a]
  exact (congr_arg _) ((Int.floor_eq_iff.2
    ⟨by linear_combination 10 * (.pi_gt_d20),
     by · linear_combination 10 * .pi_lt_d20⟩) : ⌊_⌋ = 31)

@[category test, AMS 11]
theorem a_2 : a 2 = 314 := by
  simp_all[a]
  exact (congr_arg _) ((Int.floor_eq_iff.mpr
    ⟨by · linear_combination 100 * .pi_gt_d20,
     by · linear_combination 100 * .pi_lt_d20⟩)) |>.trans (Int.toNat_natCast _)

@[category test, AMS 11]
theorem a_3 : a 3 = 3141 := by
  symm
  norm_num[a]
  exact (.symm ((congr_arg _) ((Int.floor_eq_iff.2
    ⟨by linear_combination 1000 * .pi_gt_d20,
     by linear_combination 1000 * .pi_lt_d20⟩) : ⌊_⌋ = 3141)))

/--
Wolfgang Haken (1977) conjectured that no term of this sequence is a perfect square,
and estimated the probability that this conjecture is false to be smaller than $10^-9$.
-/
@[category research open, AMS 11]
theorem conjecture1 : ∀ n, ¬ IsSquare (a n) := by
  sorry

/--
Number of collisions occurring in a system consisting of an infinitely massive,
rigid wall at the origin, a ball with mass m stationary at position $x_1 > 0$,
and a ball with mass $(10^2n)m$ at position $x_2 > x_1$ and rolling toward the origin,
assuming perfectly elastic collisions and no friction.

Strictly speaking, this property, which is equivalent to the statement that the interval
$(m\pi, \pi/\textrm{arctan}(1/m))$ does not contain an integer for all $m = 10^n$, is not
known to be true for sure. In other words, we do not know for certain that A332045 does not
contain a power of $10$.
-/
@[category research open, AMS 11]
theorem conjecture2 :
    ∀ n : ℕ, ¬ ∃ (k : ℤ),
      (Real.pi * (10 : ℝ) ^ n.cast < k.cast) ∧
      (k.cast < Real.pi / Real.arctan (1 / (10 : ℝ) ^ n.cast)) := by
  sorry

end OeisA11545

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

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