Exact Recurrent Computations with Integers

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.:


Once you have computed for some , then all values from 0 to are remembered by Mathematica.


Contributed by: Jacqueline Zizi (March 2011)
Open content licensed under CC BY-NC-SA



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.