I am trying to compute specific Fibonacci numbers e.g. $f_n$ using the generating function of Fibonacci numbers. Closed form of generating function for Fibonacci numbers is as follows: $$G(x) = \frac{x}{1-x-x^2} $$ We evaluate this polynomial at the roots of unity $w^0, w^1, w^2, ..., w^{n-1}$ to get the values $v_0, v_1, v_2, ..., v_{n-1}$. We can then do inverse Fourier transformation to find coefficients which represent Fibonacci numbers but I am not doing that because I am interested just in the specific Fibonacci number $f_n$. To calculate this specific Fibonacci number we generate $(n-1)$ row of Fourier matrix and use the following formula to compute n-th Fibonacci number $f_n$: $$f_n = \sum_{i=0}^{n-1}F_{n-1,i} \cdot v_i$$ I have written a program and tried to compute specific Fibonacci numbers using this procedure, but the results were incorrect. Results should be approximations of Fibonacci numbers, but mine were not even approximations as they were not even real numbers since they still had a certain imaginary part. I think I didn't evaluate the polynomial correctly. For roots of unity I used $w^n = e^{\frac{2\pi i}{n}}$, but the first problem is that the procedure lists using root $w^0$ which shouldn't exist. I evaluated polynomial at the specific root of unity e.g. $w^i$ by plugging in that said root in place of $x$ in the function $G(x)$ but I am not sure if this is the right way to evaluate the given polynomial. My question is what is the correct way to evaluate polynomial $G(x)$ at the roots of unity $w^0, w^1, w^2, ..., w^{n-1}$ and what to use for the root $w^0$. If there are any other errors in the described procedure that could lead to incorrect results please point them out.
2026-04-02 20:48:47.1775162927
Computing Fibonacci numbers with generating function
99 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail AtRelated Questions in POLYNOMIALS
- Alternate basis for a subspace of $\mathcal P_3(\mathbb R)$?
- Integral Domain and Degree of Polynomials in $R[X]$
- Can $P^3 - Q^2$ have degree 1?
- System of equations with different exponents
- Can we find integers $x$ and $y$ such that $f,g,h$ are strictely positive integers
- Dividing a polynomial
- polynomial remainder theorem proof, is it legit?
- Polyomial function over ring GF(3)
- If $P$ is a prime ideal of $R[x;\delta]$ such as $P\cap R=\{0\}$, is $P(Q[x;\delta])$ also prime?
- $x^{2}(x−1)^{2}(x^2+1)+y^2$ is irreducible over $\mathbb{C}[x,y].$
Related Questions in GENERATING-FUNCTIONS
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- How to multiply generating functions with $x^n$ and $x^{5n}$ and $x^{2n}$
- Relationship between the generating functions of sequences $(a_n),(b_n)$ given $b_n=\sum^n_{i=1}a_i$.
- Double-exponential sum (maybe it telescopes?)
- Solve recurrence equation: $a_{n}=(n-1)(a_{n-1}+a_{n-2})$
- Want to use Herbert Wilf's snake oil method to show $\sum_k \binom{2n+1}{2k}\binom{m+k}{2n} = \binom{2m+1}{2n}$
- Young Tableaux generating function
- Generating function of the sequence $\binom{2n}{n}^3H_n$
- Expansion of fibonacci generating function
- Partial fraction of $A(x)=\frac{x^2+x+1}{(1-x)^3}$
Related Questions in FOURIER-TRANSFORM
- Proof of Fourier transform of cos$2\pi ft$
- Find the convergence of series of a sequence of functions in $L^2(\mathbb{R})$
- solving a simple ODE with Fourier transform
- How can we prove that $e^{-jωn}$ converges at $0$ while n -> infinity?
- Show that a periodic function $f(t)$ with period $T$ can be written as $ f(t) = f_T (t) \star \frac{1}{T} \text{comb}\bigg(\frac{t}{T}\bigg) $
- Taking the Discrete Inverse Fourier Transform of a Continuous Forward Transform
- Arcsin of a number greater than one
- Complex numbers in programming
- Power spectrum of field over an arbitrarily-shaped country
- Computing an inverse Fourier Transform / Solving the free particle Schrödinger equation with a gaussian wave packet as initial condition
Related Questions in FIBONACCI-NUMBERS
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
- Fibonacci Numbers Proof by Induction (Looking for Feedback)
- Fibonacci sequence and golden ratio
- Induction proof of Fibonacci numbers
- Fibonacci sequence and divisibility.
- Fibonacci numbers mod $p$
- A proof regarding the Fibonacci Sequence.
- Congruencies for Fibonacci numbers
- Is every $N$th Fibonacci number where $N$ is divisible by $5$ itself divisible by $5$
- Proof involving Fibonacci number and binomial coefficient
Related Questions in ROOTS-OF-UNITY
- On multiplicative and additive properties of cyclotomic polynomials
- Roots of $z^3 + 3iz^2 + 3z + i = 0$?
- Compute the determinant.
- Polygon discriminant sequence
- Is $\sqrt[6]{3} \in \mathbb{Q}(\sqrt[8]{21})$ and/or $\sqrt[4]{5} \in \mathbb{Q}(e^{\frac{2 \pi i}{25}})$?
- How to prove the following identity using complex numbers?
- Why does $\sqrt[4]{-2}=\frac{1+i}{\sqrt[4]{2}}$?
- Square root of a root of unity.
- Rational Trig Solutions for $n\ge 3$
- Solving simultaneous equations using de Moivre's Theorem and Roots of Unity
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?