Re:Commander Keen source code released
by prezjordan on Tuesday September 16, 2014 @10:58PM
(#8328308)
Well, you can keep do this with any two numbers a, b such that a + b > 0 and you'll end up with the golden ratio :)
[ Parent
| on HN ]
Re:Commander Keen source code released
by Chinjut on Wednesday September 17, 2014 @01:27PM
(#8331169)
The condition a + b > 0 is neither necessary nor sufficient; rather, the precise condition you need is that b != k * a, where k = (1 - sqrt(5))/2. But, yes, Carmack's Fibonacci sequence gone awry would still (if continued without further error) produce the golden ratio in the same way as the ordinary Fibonacci sequence.