This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The code below uses Binet's Formula for F n = 5 ( 2 1 + 5 ) n − ( 2 1 − 5 ) n
and the fact that ( 2 1 − 5 ) n is essentially 0 at n = 1 0 1 2
Also note that for number n in base 10, the number of digits is lo g 1 0 n and the first digits are representative of your precision with 1 0 ( lo g 1 0 n ) − ⌊ lo g 1 0 n ⌋