GeneralizedLucas.m

Versión 1.0.0.0 (593 Bytes) por David Terr
GeneralizedLucas(n,a,b) returns the generalized Lucas number with index n and parameters a and b.
2.1K descargas
Actualizado 25 Oct 2004

Sin licencia

For fixed integers a and b such that D = a^2 + 4*b is nonnegative, the sequence V_n = GeneralizedLucas(n,a,b) satisfies the recurrence
V_n = V_{n-1} + V_{n-2} and the initial conditions V_0 = 2 and V_1 = a. When a=b=1, this is the Lucas sequence.

Citar como

David Terr (2024). GeneralizedLucas.m (https://www.mathworks.com/matlabcentral/fileexchange/6086-generalizedlucas-m), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0