No BSD License  

Highlights from
GeneralizedLucas.m

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.44 KB File ID: #6086

GeneralizedLucas.m

by David Terr

 

20 Oct 2004 (Updated 25 Oct 2004)

GeneralizedLucas(n,a,b) returns the generalized Lucas number with index n and parameters a and b.

| Watch this File

File Information
Description

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.

Required Products Bioinformatics Toolbox
MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
symbolic math David Terr 22 Oct 2008 07:33:28
lucas number David Terr 22 Oct 2008 07:33:28
generalized lucas number David Terr 22 Oct 2008 07:33:28
mathematics David Terr 22 Oct 2008 07:33:28
symbolic David Terr 22 Oct 2008 07:33:28

Contact us at files@mathworks.com