General conditional sequences
DefinitionDecimation coefficients#✓fully proved
Let \((A_j)_{j \ge 0}\) and \((s_n)_{n \ge 0}\) be sequences in a commutative ring and let \(m\), \(r\) be natural numbers. For natural numbers \(l\) and \(i\), the decimation coefficient is
an index \(m-1-j\) that would be negative being read as \(0\). For \(l \le m\) this is \(v_l^{(i)} = s_{lr+i} - A_{m-1} s_{(l-1)r+i} - \cdots - A_{m-l} s_i\).
public def decimationCoeff {R : Type*} [CommRing R] (A s : ℕ → R) (m r l i : ℕ) : R :=
s (l * r + i) - ∑ j ∈ Finset.range l, A (m - 1 - j) * s ((l - 1 - j) * r + i)
Sources
- Emre Güday and Murat Sahin, Linear Recurrence Relations Satisfied by the General Conditional Sequences, INTEGERS 26 (2026), Article A5, Theorem 1.
TheoremZeroth decimation coefficient#✓fully proved
For sequences \((A_j)_{j \ge 0}\) and \((s_n)_{n \ge 0}\) in a commutative ring and natural numbers \(m\), \(r\), \(i\), the decimation coefficient \(v_0^{(i)}\) equals \(s_i\).
public theorem decimationCoeff_zero {R : Type*} [CommRing R] (A s : ℕ → R) (m r i : ℕ) :
decimationCoeff A s m r 0 i = s i
public def decimationCoeff {R : Type*} [CommRing R] (A s : ℕ → R) (m r l i : ℕ) : R :=
s (l * r + i) - ∑ j ∈ Finset.range l, A (m - 1 - j) * s ((l - 1 - j) * r + i)
WantedExt/NumberTheory/GeneralConditionalSequenceWanted.lean:38
Sources
- Emre Güday and Murat Sahin, Linear Recurrence Relations Satisfied by the General Conditional Sequences, INTEGERS 26 (2026), Article A5, Theorem 1.
Uses 1
TheoremFirst decimation coefficient#✓fully proved
For sequences \((A_j)_{j \ge 0}\) and \((s_n)_{n \ge 0}\) in a commutative ring and natural numbers \(m\), \(r\), \(i\), the decimation coefficient \(v_1^{(i)}\) equals \(s_{r+i} - A_{m-1} s_i\), where \(A_{m-1}\) is read as \(A_0\) when \(m = 0\).
public theorem decimationCoeff_one {R : Type*} [CommRing R] (A s : ℕ → R) (m r i : ℕ) :
decimationCoeff A s m r 1 i = s (r + i) - A (m - 1) * s i
public def decimationCoeff {R : Type*} [CommRing R] (A s : ℕ → R) (m r l i : ℕ) : R :=
s (l * r + i) - ∑ j ∈ Finset.range l, A (m - 1 - j) * s ((l - 1 - j) * r + i)
WantedExt/NumberTheory/GeneralConditionalSequenceWanted.lean:38
Sources
- Emre Güday and Murat Sahin, Linear Recurrence Relations Satisfied by the General Conditional Sequences, INTEGERS 26 (2026), Article A5, Theorem 1.
Uses 1
TheoremGenerating function of a decimated linear recurrence#●ready to prove
Let \(R\) be a commutative ring, let \(m\) and \(r\) be natural numbers, and let \((A_j)_{j \ge 0}\) and \((s_n)_{n \ge 0}\) be sequences in \(R\) such that \(s_{n+mr} = \sum_{j\lt m} A_j s_{n+jr}\) for all \(n \ge 0\). Then, in the ring \(R[[x]]\) of formal power series,
where \(v_l^{(i)} = s_{lr+i} - \sum_{j\lt l} A_{m-1-j} s_{(l-1-j)r+i}\) are the decimation coefficients. The second factor on the left is the denominator \(1 - A_{m-1} x^r - A_{m-2} x^{2r} - \cdots - A_0 x^{mr}\) of the generating function.
The printed denominator ends in \(- A_1 x^{mr} - A_0\) and the printed hypothesis names Relation (1); this is the reading of the paper's derivation and of its Example 2 (\(m = 2\): \(1 - A_1 x^r - A_0 x^{2r}\)).
public theorem_wanted decimation_generating_function {R : Type*} [CommRing R] {m r : ℕ}
{A s : ℕ → R} (hs : ∀ n, s (n + m * r) = ∑ j ∈ Finset.range m, A j * s (n + j * r)) :
PowerSeries.mk s *
(1 - ∑ j ∈ Finset.range m, PowerSeries.C (A j) * PowerSeries.X ^ ((m - j) * r)) =
∑ i ∈ Finset.range r, ∑ l ∈ Finset.range m,
PowerSeries.C (decimationCoeff A s m r l i) * PowerSeries.X ^ (l * r + i)
public def decimationCoeff {R : Type*} [CommRing R] (A s : ℕ → R) (m r l i : ℕ) : R :=
s (l * r + i) - ∑ j ∈ Finset.range l, A (m - 1 - j) * s ((l - 1 - j) * r + i)
WantedExt/NumberTheory/GeneralConditionalSequenceWanted.lean:38
Sources
- Emre Güday and Murat Sahin, Linear Recurrence Relations Satisfied by the General Conditional Sequences, INTEGERS 26 (2026), Article A5, Theorem 1.
Uses 1
TheoremBinet formula for decimated linear recurrences#●ready to prove
Let \(m\) and \(r\) be natural numbers and let \((A_j)_{j \ge 0}\) and \((s_n)_{n \ge 0}\) be sequences of complex numbers such that \(s_{n+mr} = \sum_{j\lt m} A_j s_{n+jr}\) for all \(n \ge 0\). Let \(f(x) = x^m - \sum_{j\lt m} A_j x^j\) and let \(\alpha_1, \ldots, \alpha_m\) be pairwise distinct roots of \(f\) in \(\mathbb{C}\). Then for every \(n \ge 0\)
where \(v_l^{(i)} = s_{lr+i} - \sum_{j\lt l} A_{m-1-j} s_{(l-1-j)r+i}\) are the decimation coefficients. For \(r = 0\) the formula is read with \(n \bmod 0 = n\) and \(\lfloor n/0 \rfloor = 0\).
public theorem_wanted decimation_binet {m r : ℕ} {A s : ℕ → ℂ}
(hs : ∀ n, s (n + m * r) = ∑ j ∈ Finset.range m, A j * s (n + j * r))
{α : Fin m → ℂ} (hα : Function.Injective α)
(hroot : ∀ t, (X ^ m - ∑ j ∈ Finset.range m, C (A j) * X ^ j : ℂ[X]).eval (α t) = 0)
(n : ℕ) :
s n = ∑ l ∈ Finset.range m, decimationCoeff A s m r l (n % r) *
∑ t, α t ^ (m - 1 - l + n / r) /
(derivative (X ^ m - ∑ j ∈ Finset.range m, C (A j) * X ^ j : ℂ[X])).eval (α t)
public def decimationCoeff {R : Type*} [CommRing R] (A s : ℕ → R) (m r l i : ℕ) : R :=
s (l * r + i) - ∑ j ∈ Finset.range l, A (m - 1 - j) * s ((l - 1 - j) * r + i)
WantedExt/NumberTheory/GeneralConditionalSequenceWanted.lean:38
Sources
- Emre Güday and Murat Sahin, Linear Recurrence Relations Satisfied by the General Conditional Sequences, INTEGERS 26 (2026), Article A5, Theorem 2.
Uses 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.