Difference between revisions of "Manuals/calci/LUCAS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
*The difference between Lucas and Fibonacci numbers are with the first two terms <math>L_0=2</math> and <math>L_1=1 </math>, but <math>F_0=0</math> and <math>F_1=1</math>.  
 
*The difference between Lucas and Fibonacci numbers are with the first two terms <math>L_0=2</math> and <math>L_1=1 </math>, but <math>F_0=0</math> and <math>F_1=1</math>.  
 
*The Lucas numbers  are defined by:  
 
*The Lucas numbers  are defined by:  
<math>L_n=\begin{Bmatrix}  2  & if   n=0 \\
+
<math>L_n=\begin{Bmatrix}  2  & if n=0 \\
           1          &if  n=1 \\
+
           1          &if & n=1 \\
           L_{n-1}+L_{n-2}  &if n>1
+
           L_{n-1}+L_{n-2}  &if & n>1
 
           \end{Bmatrix}</math>
 
           \end{Bmatrix}</math>
 
*The sequence of Lucas numbers is  2,1,3,4,7,11,18,29....
 
*The sequence of Lucas numbers is  2,1,3,4,7,11,18,29....

Revision as of 16:38, 20 July 2017

LUCAS(n)


  • is the number indicating the position.

Description

  • This function gives the Lucas series of the numbers.
  • Lucas numbers are similar to the Fibonacci numbers.
  • It is generated by added the last two numbers in the series.
  • In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle LUCAS(n)} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} is the numbers position, which is used to displaying the numbers in the given range.
  • The difference between Lucas and Fibonacci numbers are with the first two terms Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L_0=2} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L_1=1 } , but Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_0=0} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_1=1} .
  • The Lucas numbers are defined by:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L_n=\begin{Bmatrix} 2 & if & n=0 \\ 1 &if & n=1 \\ L_{n-1}+L_{n-2} &if & n>1 \end{Bmatrix}}

  • The sequence of Lucas numbers is 2,1,3,4,7,11,18,29....
  • The relation between Lucas and Fibonacci numbers are:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L_n=F_n+2F_{n-1} } and : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_n=\frac{L_{n-1}+L_{n+1}}{5}} where is the Lucas series with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L_n} is the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n^{th}} Lucas number and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle F_n } is the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n^{th}} Fibonacci number.

   This function will, give the result as error when  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n}
 is non-numeric or n < 0

Examples

  1. =LUCAS(5) = 2 1 3 4 7 11
  2. =LUCAS(0) = 2
  3. =LUCAS(1) = 2 1
  4. =LUCAS(3) = 2 1 3 4
  5. =LUCAS(-1) = Null

Related Videos

LUCAS

See Also

References

LUCAS