Difference between revisions of "Manuals/calci/NSTEPFIBONACCI"

From ZCubes Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
where,  
 
where,  
 
*<math>NStep</math> number of elements prior to this index to be considered for the summation.
 
*<math>NStep</math> number of elements prior to this index to be considered for the summation.
*<math>NumberUpto</math> is any real number.
+
*<math>NumberUpto</math> is any integer.
 +
*<math>NumberFrom</math> is any integer to start from, with default 0.
 
**FIBONNACI(), returns the fibonnaci sequence.
 
**FIBONNACI(), returns the fibonnaci sequence.
 
**Also  
 
**Also  
Line 23: Line 24:
 
   
 
   
 
== Examples ==
 
== Examples ==
 +
 +
TETRANACCI(1..50)
 +
 +
NSTEPFIBONACCI(9,20)
 +
 +
0 1 1 2 4 8 16 32 64 128 256 511 1021 2040 4076 8144 16272 32512 64960 129792 259328
 +
 +
Adds up past 9 numbers.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 16:02, 16 February 2020

NSTEPFIBONACCI(NStep,NumberUpto, NumberFrom)

where,

  • number of elements prior to this index to be considered for the summation.
  • is any integer.
  • is any integer to start from, with default 0.
    • FIBONNACI(), returns the fibonnaci sequence.
    • Also

TRIBONACCI Step Size 3

TETRANACCI Step Size 4

PENTANACCI Step Size 5

HEXANACCI Step Size 6

HEPTANACCI Step Size 7

Description

NSTEPFIBONACCI(1..10,50)


Examples

TETRANACCI(1..50)

NSTEPFIBONACCI(9,20)

0 1 1 2 4 8 16 32 64 128 256 511 1021 2040 4076 8144 16272 32512 64960 129792 259328

Adds up past 9 numbers.

See Also

References