logoalt Hacker News

threatofrain06/27/20251 replyview on HN

What's wrong with the closed form formula?


Replies

meindnoch06/27/2025

The closed-form formula won't work for F(99999999) unless you're using an arbitrary-precision floating point library, and even then, you'd have trouble getting an integer result due to the transcendental sqrt(5) factors.