Title: · a_5
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04591 [math.NT] · NS.04591v1 for this version |
| Declaration: | OeisA108211.a_5 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 6262b4157ab6cfaf88f9741af80563631b157acd98b102b6e61caf87fee4efb4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/108211.lean |
Formal statement
theorem a_5 : a 5 = 401Show the full Challenge.lean (77 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# $a(n) = 16n^2 + 1$
*References:*
- [A108211](https://oeis.org/A108211)
-/
@[expose] public section
namespace OeisA108211
/--
The primary defining sequence `a`.
`a n` is defined as $16n^2 + 1$.
-/
def a (n : ℕ) : ℕ := 16 * n ^ 2 + 1
/-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/
@[category test, AMS 11]
theorem a_1 : a 1 = 17 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 65 := by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 145 := by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 257 := by decide
@[category test, AMS 11]
theorem a_5 : a 5 = 401 := by decide
open Real
set_option linter.style.formal_proof_palomar false in
/--
Conjecture:
$$a(n) = \left\lfloor \frac{1}{\frac{1}{4n} - \log(2) +
\frac{1}{n+1} + \frac{1}{n+2} + \dots + \frac{1}{2n}} \right\rfloor.$$
**Proof sketch** (certificate style; the kernel-checked development lives at the
`formal_proof` permalink below). Write $T(n) = \log 2 - (H(2n) - H(n))$ for the harmonic
tail defect. The proof sandwiches $T(n)$ between two explicit telescoping bounds — $h(n)$
from below and $h(n) + 60/(4n+1)^7$ from above, where $h$ telescopes a degree-7 rational
certificate. The two resulting inequalities reduce to polynomial coefficient-nonnegativity
facts discharged by elementary tactics, after which the reciprocal lands in
$[16n^2 + 1,\, 16n^2 + 2)$ and the floor evaluates exactly.
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/chy4pro/formal-conjectures/blob/f24f80aeaa3d5073bf4a54ed9daa102a5e0f1fad/FormalConjectures/OEIS/108211.lean#L540"]
theorem conjecture (n : ℕ) (hn : n > 0) :
(a n : ℝ) =
(⌊ 1 / ((4 * n : ℝ)⁻¹ - log 2 + ∑ k ∈ (Finset.Icc (n + 1) (2 * n)), (k : ℝ)⁻¹) ⌋ : ℝ) := by
sorry
end OeisA108211
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA108211.a_5 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_5 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-108211--a-5 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-108211--a-5 nosorry submit oeis-108211--a-5 nosorry/oeis-108211--a-5/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.