operate in base

LaTeX4Web 1.4 OUTPUT As explained in the Factorial page we can use vectors to operate with large integers in any base. Apart from the code regarding the factorial, using the sum and the mproduct of vectors we also provide the sequence of Fibonacci up to any large integer and the powers nn from n=1 until any n. Both codes can be used in any base. First we provide the code for large sequences of Fibonacci. The Fibonacci sequence is computed recursively using the recurrence relation an+2 = an+1 + an.
fibonacci.txt fibonacci.txt
Size : 0.991 Kb
Type : txt

Here you can see an example of the output of the code using base 5.

LaTeX4Web 1.4 OUTPUT We can also compute the sequence formed by series of powers until any large n. Again, it can be computed in any base. The code is the following:
ntothen.txt ntothen.txt
Size : 4.36 Kb
Type : txt

Here you can see an example of the output of the code.