In mathematics, the Fibonacci polynomials are a polynomial sequence which can be considered as a generalization of the Fibonacci numbers. The polynomials generated in a similar way from the Lucas numbers are called Lucas polynomials.
These Fibonacci polynomials are defined by a recurrence relation:
The first few Fibonacci polynomials are:
The Lucas polynomials use the same recurrence with different starting values:
The first few Lucas polynomials are: