Comment

Comment by sorokod

As suggested elsewhere, this is more of a party trick then a practical approach to convert between km and miles.

The Wikipedia entry does suggest a greedy algorithm (at each step choosing the largest fib number that fits) though, using that we have

121 = 89 + 21 + 8 + 3

parent sorokod 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton