Get the latest tech news
Using Fibonacci numbers to convert from miles to kilometers and vice versa
I recently learned an interesting fact about Fibonacci numbers while watching a random number theory video on YouTube. Fibonacci numbers can be used to approximately convert from miles to kilometers and back. Here is how. Take two consecutive Fibonacci numbers, for example 5 and 8. And you're done converting. No...
Fibonacci numbers can be used to approximately convert from miles to kilometers and back. Just remember that if you need to convert from km to miles, you need to find the preceding Fibonacci number. If the distance needs to be composed as a sum of n Fibonacci numbers, then the error will be around sqrt(n)·0.5%.
Or read this on Hacker News