Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: