Difference between revisions of "Manuals/calci/LUCAS"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''LUCAS'''(SomeNumber) where '''SomeNumber '''is any real number </div> ---- <div id="1SpaceContent" cla...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''LUCAS(n)'''</div><br/>
 +
*<math>n </math> is the number indicating the position.
  
'''LUCAS'''(SomeNumber)
 
  
where
+
==Description==
 +
*This function gives the Lucas series of the numbers.
 +
*Lucas numbers are similar to the Fibonacci numberss.
 +
*It is generated by added the last two numbers in the series.
 +
*In <math>LUCAS(n), n </math> 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 L0=2 and L1=1, but F0=0 and F1=1.
 +
*The Lucas numbers  are defined by: <math>Ln=\begin{cases} 2          if  n=0
 +
                                                          1          if  n=1
 +
                                                          Ln-1+Ln-2  if  n>1
 +
                                              \end{cases}
  
'''SomeNumber '''is any real number
+
*The sequence of Lucas numbers is  2,1,3,4,7, 11,18,29,......
 +
*The relation between Lucas and Fibonacci numbers are: Ln=Fn+2Fn-1 and Fn=Ln-1+Ln+1\5 
 +
where L is the Lucas series with <math> L(n)</math> is the nth Lucas number and <math> Fn </math> is the nth Fibonacci number.
 +
    This function will give the result as error when  n is nonnumeric or n < 0
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
Calci returns the LUCAS series upto the given number, SomeNumber.
+
==Examples==
 +
#=LUCAS(5)= 2  1  3    4  7    11
 +
#=LUCAS(0)= 2
 +
#=LUCAS(1)= 2  1
 +
#=LUCAS(3)= 2  1    3    4 
 +
#=LUCAS(-1)=Null
  
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
LUCAS returns NaN if SomeNumber is not a real number
+
==See Also==
  
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
LUCAS
+
==References==
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column2Row1)
 
 
 
<nowiki>=LUCAS(Column1Row1)</nowiki>
 
 
 
Returns 2,1,3,4  for LUCAS(3)
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|+ Default Calci
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 3
 
| class="sshl_f" | 2,1,3,4
 
| class="                    sshl_f" |
 
| class="                                                          sshl_f  sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="      " |
 
| class="          SelectTD1 ChangeBGColor SelectTD1" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
 
| class=" sshl_f" |
 
| class="sshl_f  sshl_f" |
 
|- class="odd"
 
| Row3
 
|
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
|
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
| class="sshl_f" |
 
|
 
|}
 
 
 
{|
 
| <span align="left">[[Image:calci1.gif]]</span>
 
|
 
|
 
[[Image:bold.gif]]
 
|
 
[[Image:italic.gif]]
 
|
 
[[Image:normal.gif]]
 
|
 
[[Image:underline.gif]]
 
|
 
[[Image:border.gif]]
 
|
 
[[Image:numbers.gif]]
 
|
 
[[Image:sort.gif]]
 
|
 
[[Image:formatcells.gif]]
 
|
 
[[Image:graphs.gif]]
 
| $
 
|}
 
 
 
</div>
 
----
 

Revision as of 04:09, 1 February 2014

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 numberss.
  • It is generated by added the last two numbers in the series.
  • In 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 L0=2 and L1=1, but F0=0 and F1=1.
  • The Lucas numbers are defined by: Failed to parse (syntax error): {\displaystyle Ln=\begin{cases} 2 if n=0 1 if n=1 Ln-1+Ln-2 if n>1 \end{cases} *The sequence of Lucas numbers is 2,1,3,4,7, 11,18,29,...... *The relation between Lucas and Fibonacci numbers are: Ln=Fn+2Fn-1 and Fn=Ln-1+Ln+1\5 where L is the Lucas series with <math> L(n)} is the nth Lucas number and is the nth Fibonacci number.
   This function will give the result as error when  n is nonnumeric 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


See Also

References