Index of theproofnetwork/open-problems@860a535/FormalConjectures/OEIS/A195441.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

73 lines · 2.4 kBraw
/-Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at     https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-/module public import FormalConjecturesUtil /-!# Denominator of $B_{n+1}(x) - B_{n+1}$ The sequence $a(n)$ is the least common multiple of the denominators of the coefficients of thepolynomial $B_{n+1}(x) - B_{n+1}$, where $B_m(x) = \sum_{k=0}^m \binom{m}{k} B_{m-k} x^k$ is the$m$-th Bernoulli polynomial and $B_m$ is the $m$-th Bernoulli number. *References:*- [A195441](https://oeis.org/A195441)- [Finiteness of Bernoulli polynomials](https://arxiv.org/abs/2310.01325)  by *Bernd C. Kellner*, J. Integer Seq. 27 (2024)-/ @[expose] public section namespace OeisA195441 /--The least common multiple of the denominators of the coefficients of $B_{n+1}(x) - B_{n+1}$.Since $B_{n+1}(x) - B_{n+1} = \sum_{k=1}^{n+1} \binom{n+1}{k} B_{n+1-k} x^k$, this is the leastcommon multiple of the denominators of $\binom{n+1}{k} B_{n+1-k}$ for $1 \le k \le n + 1$.-/def a (n : ℕ) : ℕ :=  let N := n + 1  (Finset.Icc 1 N).lcm fun k => (((N.choose k : ℚ) * bernoulli (N - k)).den) @[category test, AMS 11]theorem a_0 : a 0 = 1 := by decide +kernel @[category test, AMS 11]theorem a_1 : a 1 = 1 := by decide +kernel @[category test, AMS 11]theorem a_2 : a 2 = 2 := by decide +kernel @[category test, AMS 11]theorem a_3 : a 3 = 1 := by decide +kernel @[category test, AMS 11]theorem a_4 : a 4 = 6 := by decide +kernel /--The equation $a(n-1) = \operatorname{rad}(n+1)$ has only finitely many solutions, where$\operatorname{rad}(n)$ is the radical of $n$. It is conjectured that$S = \{3, 5, 8, 9, 11, 27, 29, 35, 59\}$ is the full set of all such solutions.- _Bernd C. Kellner_, Oct 18 2023-/@[category research open, AMS 11]theorem conjecture :    {n : ℕ | 1 ≤ n ∧ a (n - 1) = UniqueFactorizationMonoid.radical (n + 1)} =      ({3, 5, 8, 9, 11, 27, 29, 35, 59} : Finset ℕ) := by  sorry end OeisA195441

download (.tar)