GeneralizedLucas.m

バージョン 1.0.0.0 (593 Bytes) 作成者: David Terr
GeneralizedLucas(n,a,b) returns the generalized Lucas number with index n and parameters a and b.
ダウンロード: 2.1K
更新 2004/10/25

ライセンスがありません

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.

引用

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

MATLAB リリースの互換性
作成: R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0