In the Liber Abaci (1202), Fibonacci introduces the so-called modus Indorum (method of the Indians), today known as Arabic numerals (Sigler 2003; Grimm 1973). The book advocated numeration with the digits 0–9 and place value. The book showed the practical importance of the new numeral sy...
Peter provides a mechanical example of this above. Another approach could be to use SCAN with an accumulator such as LAMBDA(i,IF(i,a,b)) as a means of overcoming array truncation even if this may be not as efficient, I'll try and post an example soon...
The REDUCE example was actually designed to show that Fib(1024) could be calculated in just 10 steps by successively squaring the 2x2 matrix. The video David linked to extends this method to calculate arbitrary fibonacci numbers faster by using the binary representation of a number to decompose ...
In this post, I would like to explain how I have used Lambda to create a function to generate a Fibonacci series array. This example can also be used to understand how to create an array where th... (check theUPDATEsection for the shortest and fastest solution) VizRecalcOrDietbouldenPeter...
print(fibo(74)) But the problem is not the numerical precision of the approximate method. I tested the second formula of my post, which doesn't involve a numerical calculation other than addition: FIBO=LAMBDA(n,REDUCE({1;1},SEQUENCE(IF(n<=2,1,n-2)),LAMBDA(ac,a,IF(n<=2,1,LET(...