(a, b)-Fibonacci and (a, b)-Lucas numbers
StructureKalman–Mena generalized Fibonacci sequence#✓fully proved
A Kalman–Mena \((a,b)\)-generalized Fibonacci sequence consists of real parameters \(a\) and \(b\) together with a real sequence \((F_n)_{n \ge 0}\) such that \(F_0 = 0\), \(F_1 = 1\), \(F_{n+2} = a F_{n+1} + b F_n\) for every \(n \ge 0\), and its ordinary generating series in the formal variable \(x\) satisfies the identity of formal power series \((1 - a x - b x^2) \sum_{n \ge 0} F_n x^n = x\), that is, \(\sum_{n \ge 0} F_n x^n = x / (1 - a x - b x^2)\).
MetaMathlibExt.AbGeneralizedFibonacciSequence · 33 lines
structure AbGeneralizedFibonacciSequence where
/-- Real parameter `a` (clause `domain`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
a : ℝ
/-- Real parameter `b` (clause `domain`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
b : ℝ
/-- The generalized Fibonacci sequence
(concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
F : ℕ → ℝ
/-- Initial value `F 0 = 0` (clause `initial_zero`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
initial_zero : F 0 = 0
/-- Initial value `F 1 = 1` (clause `initial_one`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
initial_one : F 1 = 1
/-- Recurrence `F (n + 2) = a * F (n + 1) + b * F n` (clause `recurrence`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
recurrence : ∀ n : ℕ, F (n + 2) = a * F (n + 1) + b * F n
/-- Ordinary generating series identity
`(1 - a * X - b * X ^ 2) * mk F = X`, i.e. `mk F = x / (1 - a * x - b * x ^ 2)`
(clause `generating_function`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
gen_eq :
(1 - PowerSeries.C a * PowerSeries.X - PowerSeries.C b * PowerSeries.X ^ 2) *
PowerSeries.mk F = PowerSeries.X
F : ℕ → ℝ
MathlibExt/NumberTheory/AbGeneralizedFibonacciSequence.lean:46
a : ℝ
MathlibExt/NumberTheory/AbGeneralizedFibonacciSequence.lean:38
b : ℝ
MathlibExt/NumberTheory/AbGeneralizedFibonacciSequence.lean:42
Used by 1
TheoremExtensionality for Kalman–Mena generalized Fibonacci sequences#✓fully proved
Two Kalman–Mena \((a,b)\)-generalized Fibonacci sequences are equal when they have the same parameter \(a\), the same parameter \(b\) and the same sequence \((F_n)_{n \ge 0}\).
@[ext]
theorem AbGeneralizedFibonacciSequence.ext
{x y : AbGeneralizedFibonacciSequence}
(ha : x.a = y.a) (hb : x.b = y.b) (hF : x.F = y.F) : x = y
structure AbGeneralizedFibonacciSequence where
/-- Real parameter `a` (clause `domain`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
a : ℝ
/-- Real parameter `b` (clause `domain`;
concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
b : ℝ
/-- The generalized Fibonacci sequence
(concept `jis_sem_34b8a222e3026d94d1de5306`;
source statement `jis_34b8a222e3026d94d1de5306`). -/
⋯
MathlibExt/NumberTheory/AbGeneralizedFibonacciSequence.lean:34
Uses 1
DefinitionThe (a, b)-Fibonacci numbers#✓fully proved
For complex numbers \(a\) and \(b\), the \((a,b)\)-Fibonacci numbers \(F^{a,b}_n\), \(n \in \mathbb{N}\), are the complex numbers given by \(F^{a,b}_0 = 0\), \(F^{a,b}_1 = 1\) and \(F^{a,b}_{n+2} = a F^{a,b}_{n+1} + b F^{a,b}_n\) for every \(n\).
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Used by 15
TheoremZeroth (a, b)-Fibonacci number#✓fully proved
For all complex numbers \(a\) and \(b\), the \((a,b)\)-Fibonacci number \(F^{a,b}_0\) equals \(0\).
@[simp]
theorem fibAB_zero (a b : ℂ) : fibAB a b 0 = 0
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
TheoremFirst (a, b)-Fibonacci number#✓fully proved
For all complex numbers \(a\) and \(b\), the \((a,b)\)-Fibonacci number \(F^{a,b}_1\) equals \(1\).
@[simp]
theorem fibAB_one (a b : ℂ) : fibAB a b 1 = 1
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
TheoremRecurrence for the (a, b)-Fibonacci numbers#✓fully proved
For all complex numbers \(a\) and \(b\) and every natural number \(n\), the \((a,b)\)-Fibonacci numbers satisfy \(F^{a,b}_{n+2} = a F^{a,b}_{n+1} + b F^{a,b}_n\).
theorem fibAB_add_two (a b : ℂ) (n : ℕ) :
fibAB a b (n + 2) = a * fibAB a b (n + 1) + b * fibAB a b n
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
Definition(a, b)-Lucas numbers#✓fully proved
For complex numbers \(a\) and \(b\), the \((a, b)\)-Lucas numbers are the sequence \((L_n)_{n \ge 0}\) of complex numbers defined by \(L_0 = 2\), \(L_1 = a\) and \(L_{n+2} = a L_{n+1} + b L_n\) for all \(n \ge 0\).
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Used by 13
TheoremZeroth (a, b)-Lucas number#✓fully proved
For all complex numbers \(a\) and \(b\), the \((a,b)\)-Lucas number \(L^{a,b}_0\) equals \(2\).
@[simp]
theorem lucasAB_zero (a b : ℂ) : lucasAB a b 0 = 2
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
TheoremFirst (a, b)-Lucas number#✓fully proved
For all complex numbers \(a\) and \(b\), the \((a,b)\)-Lucas number \(L^{a,b}_1\) equals \(a\).
@[simp]
theorem lucasAB_one (a b : ℂ) : lucasAB a b 1 = a
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
TheoremRecurrence for the (a, b)-Lucas numbers#✓fully proved
For all complex numbers \(a\) and \(b\) and every natural number \(n\), the \((a,b)\)-Lucas numbers satisfy \(L^{a,b}_{n+2} = a L^{a,b}_{n+1} + b L^{a,b}_n\).
theorem lucasAB_add_two (a b : ℂ) (n : ℕ) :
lucasAB a b (n + 2) =
a * lucasAB a b (n + 1) + b * lucasAB a b n
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Section 1 (sequence definition).
Uses 1
TheoremDiscriminant times an (a, b)-Fibonacci number#●ready to prove
Let \(a\) and \(b\) be complex numbers with \(a^2 + 4b \ne 0\), and write \(F_n\) and \(L_n\) for the \((a,b)\)-Fibonacci and \((a,b)\)-Lucas numbers. Then for every natural number \(m\),
theorem_wanted disc_mul_fibAB (a b : ℂ) (hΔ : a ^ 2 + 4 * b ≠ 0)
(m : ℕ) :
(a ^ 2 + 4 * b) * fibAB a b (m + 1) =
lucasAB a b (m + 2) + b * lucasAB a b m
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Corollary 4.
Uses 2
TheoremSum of even-indexed (a, b)-Fibonacci numbers weighted by powers of -b#●ready to prove
Let \(a, b\) be complex numbers and let \((F_n)\) be the \((a, b)\)-Fibonacci numbers. Then for every integer \(n \ge 0\),
theorem_wanted sum_neg_b_pow_fibAB_even_prod (a b : ℂ) (n : ℕ) :
∑ i ∈ Finset.range (n + 1), (-b) ^ (n - i) * fibAB a b (2 * i) =
fibAB a b n * fibAB a b (n + 1)
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Corollary 11.
Uses 1
TheoremSums of (a, b)-Lucas numbers weighted by powers of -b#●ready to prove
Let \(a, b\) be complex numbers with \(b \ne 0\), and let \((F_n)\) and \((L_n)\) be the \((a, b)\)-Fibonacci and \((a, b)\)-Lucas numbers. Then for every integer \(n \ge 0\),
theorem_wanted sum_neg_b_pow_lucasAB (a b : ℂ) (hb : b ≠ 0)
(n : ℕ) :
(∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * i + 1) =
fibAB a b (2 * n + 2)) ∧
(∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * i) =
fibAB a b (2 * n + 1) + (-b) ^ n)
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 5(a).
Uses 2
TheoremShifted sums of (a, b)-Lucas numbers weighted by powers of -b#●ready to prove
Let \(a, b\) be complex numbers with \(b \ne 0\), and let \((F_n)\) and \((L_n)\) be the \((a, b)\)-Fibonacci and \((a, b)\)-Lucas numbers. Then for all integers \(m, n \ge 0\),
and this sum also equals \(F_{n+m+1} L_{n+m+1} + (-1)^n b^{n+1} F_m L_m\). If moreover \(m \ge 1\), then
and this sum also equals \(F_{n+m+1} L_{n+m} + (-1)^n b^{n+1} F_m L_{m-1}\).
MathlibExt.NumberTheory.Recurrences.ABFibonacciIdentitiesWanted.sum_neg_b_pow_lucasAB_shift · 19 lines
theorem_wanted sum_neg_b_pow_lucasAB_shift (a b : ℂ) (hb : b ≠ 0)
(m n : ℕ) :
(∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * (i + m) + 1) =
fibAB a b (2 * (n + m) + 2) +
(-1) ^ n * b ^ (n + 1) * fibAB a b (2 * m) ∧
∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * (i + m) + 1) =
fibAB a b (n + m + 1) * lucasAB a b (n + m + 1) +
(-1) ^ n * b ^ (n + 1) * fibAB a b m * lucasAB a b m) ∧
(1 ≤ m →
∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * (i + m)) =
fibAB a b (2 * (n + m) + 1) +
(-1) ^ n * b ^ (n + 1) * fibAB a b (2 * m - 1) ∧
∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * lucasAB a b (2 * (i + m)) =
fibAB a b (n + m + 1) * lucasAB a b (n + m) +
(-1) ^ n * b ^ (n + 1) * fibAB a b m * lucasAB a b (m - 1))
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 5(b).
Uses 2
TheoremSums of (a, b)-Fibonacci numbers weighted by powers of -b, via Lucas numbers#●ready to prove
Let \(a, b\) be complex numbers with \(\Delta = a^2 + 4b \ne 0\), and let \((F_n)\) and \((L_n)\) be the \((a, b)\)-Fibonacci and \((a, b)\)-Lucas numbers. Then for every integer \(n \ge 0\),
and
theorem_wanted sum_neg_b_pow_fibAB_disc (a b : ℂ)
(hΔ : a ^ 2 + 4 * b ≠ 0) (n : ℕ) :
(∑ i ∈ Finset.range (n + 1), (-b) ^ (n - i) * fibAB a b (2 * i) =
(lucasAB a b (2 * n + 1) + (-1) ^ (n + 1) * a * b ^ n) /
(a ^ 2 + 4 * b)) ∧
(∑ i ∈ Finset.range (n + 1),
(-b) ^ (n - i) * fibAB a b (2 * i + 1) =
(lucasAB a b (2 * n + 2) + (-1) ^ n * 2 * b ^ (n + 1)) /
(a ^ 2 + 4 * b))
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 10(a).
Uses 2
TheoremAlternating sums of Fibonacci and Lucas numbers#●ready to prove
Let \((F_n)\) and \((L_n)\) be the Fibonacci and Lucas numbers, that is, the \((1, 1)\)-Fibonacci and \((1, 1)\)-Lucas numbers, viewed as complex numbers. Then for every integer \(n \ge 0\),
theorem_wanted sum_neg_one_pow_fib (n : ℕ) :
(∑ i ∈ Finset.range (n + 1), (-1 : ℂ) ^ i * fibAB 1 1 (2 * i) =
((-1) ^ n * lucasAB 1 1 (2 * n + 1) - 1) / 5) ∧
(∑ i ∈ Finset.range (n + 1), (-1 : ℂ) ^ i * lucasAB 1 1 (2 * i) =
(-1) ^ n * fibAB 1 1 (2 * n + 1) + 1) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * fibAB 1 1 (2 * i + 1) =
((-1) ^ n * lucasAB 1 1 (2 * n + 2) + 2) / 5) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * lucasAB 1 1 (2 * i + 1) =
(-1) ^ n * fibAB 1 1 (2 * n + 2))
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 10(b).
Uses 2
TheoremAlternating sums of Pell and Pell–Lucas numbers#●ready to prove
Let \((P_n)\) and \((Q_n)\) be the Pell and Pell–Lucas numbers, that is, the \((2, 1)\)-Fibonacci and \((2, 1)\)-Lucas numbers, viewed as complex numbers. Then for every integer \(n \ge 0\),
theorem_wanted sum_neg_one_pow_pell (n : ℕ) :
(∑ i ∈ Finset.range (n + 1), (-1 : ℂ) ^ i * fibAB 2 1 (2 * i) =
((-1) ^ n * lucasAB 2 1 (2 * n + 1) - 2) / 8) ∧
(∑ i ∈ Finset.range (n + 1), (-1 : ℂ) ^ i * lucasAB 2 1 (2 * i) =
(-1) ^ n * fibAB 2 1 (2 * n + 1) + 1) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * fibAB 2 1 (2 * i + 1) =
((-1) ^ n * lucasAB 2 1 (2 * n + 2) + 2) / 8) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * lucasAB 2 1 (2 * i + 1) =
(-1) ^ n * fibAB 2 1 (2 * n + 2))
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 10(c).
Uses 2
TheoremWeighted alternating sums of Jacobsthal and Jacobsthal–Lucas numbers#●ready to prove
Let \((J_n)\) and \((j_n)\) be the Jacobsthal and Jacobsthal–Lucas numbers, that is, the \((1, 2)\)-Fibonacci and \((1, 2)\)-Lucas numbers, viewed as complex numbers. Then for every integer \(n \ge 0\),
theorem_wanted sum_neg_one_pow_jacobsthal (n : ℕ) :
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * 2 ^ (n - i) * fibAB 1 2 (2 * i) =
((-1) ^ n * lucasAB 1 2 (2 * n + 1) - 2 ^ n) / 9) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * 2 ^ (n - i) * lucasAB 1 2 (2 * i) =
(-1) ^ n * fibAB 1 2 (2 * n + 1) + 2 ^ n) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * 2 ^ (n - i) * fibAB 1 2 (2 * i + 1) =
((-1) ^ n * lucasAB 1 2 (2 * n + 2) + 2 ^ (n + 2)) / 9) ∧
(∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * 2 ^ (n - i) * lucasAB 1 2 (2 * i + 1) =
(-1) ^ n * fibAB 1 2 (2 * n + 2))
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 10(d).
Uses 2
TheoremAlternating sums of even-indexed k-Lucas numbers#●ready to prove
Let \(k\) be a complex number, and let \((F_{k,n})\) and \((L_{k,n})\) be the \(k\)-Fibonacci and \(k\)-Lucas numbers, that is, the \((k, 1)\)-Fibonacci and \((k, 1)\)-Lucas numbers. Then for all integers \(m \ge 1\) and \(n \ge 0\),
theorem_wanted sum_neg_one_pow_k_lucasAB (k : ℂ) (m n : ℕ)
(hm : 1 ≤ m) :
∑ i ∈ Finset.range (n + 1),
(-1 : ℂ) ^ i * lucasAB k 1 (2 * (i + m)) =
(-1) ^ n * fibAB k 1 (2 * (n + m) + 1) + fibAB k 1 (2 * m - 1)
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Corollary 9.
Uses 2
TheoremSums of (a, b)-Fibonacci numbers weighted by powers of c#●ready to prove
Let \(a, b, c\) be complex numbers with \(c \ne 0\) and \(c^2 - ac - b \ne 0\), and let \((F_n)\) be the \((a, b)\)-Fibonacci numbers. Then for every integer \(n \ge 1\),
theorem_wanted sum_c_pow_fibAB (a b c : ℂ) (hc : c ≠ 0)
(hc2 : c ^ 2 - a * c - b ≠ 0) (n : ℕ) (hn : 1 ≤ n) :
∑ i ∈ Finset.Icc 1 n, c ^ (n - i) * fibAB a b i =
(c ^ (n + 1) - c * fibAB a b (n + 1) - b * fibAB a b n) /
(c ^ 2 - a * c - b)
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Theorem 12.
Uses 1
TheoremA convolution of (a, b)-Lucas and (a, d)-Fibonacci numbers#●ready to prove
Let \(a, b, d\) be complex numbers with \(b \ne d\), and write \(L^{a,b}_n\) for the \((a,b)\)-Lucas numbers and \(F^{a,b}_n\) for the \((a,b)\)-Fibonacci numbers. Then for every natural number \(n\),
and
The source states the first identity in divided form, \(\sum_{i=1}^{n} L^{a,b}_{n-i} F^{a,d}_i = (L^{a,b}_{n+1} - L^{a,d}_{n+1})/(b - d)\).
theorem_wanted convolution_lucasAB_fibAB (a b d : ℂ) (hbd : b ≠ d)
(n : ℕ) :
(b - d) * ∑ i ∈ Finset.Icc 1 n,
lucasAB a b (n - i) * fibAB a d i =
lucasAB a b (n + 1) - lucasAB a d (n + 1) ∧
∑ i ∈ Finset.Icc 1 n, lucasAB a b (n - i) * fibAB a d i =
∑ i ∈ Finset.Icc 1 n, lucasAB a d (n - i) * fibAB a b i
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Corollary 14(a).
Uses 2
TheoremFibonacci, Jacobsthal and Pell convolution identities#●ready to prove
Write \(F_n\) and \(L_n\) for the Fibonacci and Lucas numbers (the \((1,1)\)-Fibonacci and \((1,1)\)-Lucas numbers), \(J_n\) and \(j_n\) for the Jacobsthal and Jacobsthal–Lucas numbers (the \((1,2)\)-Fibonacci and \((1,2)\)-Lucas numbers), and \(P_n\) and \(Q_n\) for the Pell and Pell–Lucas numbers (the \((2,1)\)-Fibonacci and \((2,1)\)-Lucas numbers), all as complex numbers. Then for every natural number \(n\): (i) \(\sum_{i=1}^{n} L_{n-i} J_i = j_{n+1} - L_{n+1}\) and \(\sum_{i=1}^{n} j_{n-i} F_i = j_{n+1} - L_{n+1}\); (ii) \(2 \sum_{i=1}^{n} P_i = (Q_{n+1} - 2)/2\) and \(\sum_{i=1}^{n} i \, Q_{n-i} = (Q_{n+1} - 2)/2\); (iii) \(\sum_{i=1}^{n} L_{2(n-i)} (2^i - 1) = L_{2n+2} - 2^{n+1} - 1\) and \(\sum_{i=1}^{n} (2^{n-i} + 1) F_{2i} = L_{2n+2} - 2^{n+1} - 1\).
theorem_wanted convolution_specializations (n : ℕ) :
(∑ i ∈ Finset.Icc 1 n, lucasAB 1 1 (n - i) * fibAB 1 2 i =
lucasAB 1 2 (n + 1) - lucasAB 1 1 (n + 1) ∧
∑ i ∈ Finset.Icc 1 n, lucasAB 1 2 (n - i) * fibAB 1 1 i =
lucasAB 1 2 (n + 1) - lucasAB 1 1 (n + 1)) ∧
(2 * ∑ i ∈ Finset.Icc 1 n, fibAB 2 1 i =
(lucasAB 2 1 (n + 1) - 2) / 2 ∧
∑ i ∈ Finset.Icc 1 n, (i : ℂ) * lucasAB 2 1 (n - i) =
(lucasAB 2 1 (n + 1) - 2) / 2) ∧
(∑ i ∈ Finset.Icc 1 n,
lucasAB 1 1 (2 * (n - i)) * (2 ^ i - 1) =
lucasAB 1 1 (2 * n + 2) - 2 ^ (n + 1) - 1 ∧
∑ i ∈ Finset.Icc 1 n, (2 ^ (n - i) + 1) * fibAB 1 1 (2 * i) =
lucasAB 1 1 (2 * n + 2) - 2 ^ (n + 1) - 1)
def lucasAB (a b : ℂ) : ℕ → ℂ
| 0 => 2
| 1 => a
| n + 2 => a * lucasAB a b (n + 1) + b * lucasAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:96
def fibAB (a b : ℂ) : ℕ → ℂ
| 0 => 0
| 1 => 1
| n + 2 => a * fibAB a b (n + 1) + b * fibAB a b n
WantedExt/NumberTheory/Recurrences/ABFibonacciIdentitiesWanted.lean:56
Sources
- Emil Daniel Schwab, "Fibonacci Numbers via Dirichlet Convolution and Lucas Numbers via Unitary Convolution", Corollary 14(b).
Uses 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.