Exact Recurrent Computations with Integers
Exact Recurrent Computations with Integers
Exact computations with large integers are possible, simple, efficient, and reliable with Mathematica. Download the notebook, try the calculation, and check it for yourself doing it by hand.
You can change 20 to 100 or 500 if you want….
The sequence is defined by its first term and a computational process that allows the computation of , , etc.:
u
u[0]
u[1]
u[2]
u[n]=1000u[n-1]+1
Once you have computed for some , then all values from 0 to are remembered by Mathematica.
u[p]
p
p