Re:A Linear Algebra Trick for Computing Fibonacci Numbers Fast
by eutectic on Monday November 06, 2023 @05:36PM
(#38170103)
The generating function proof is also really beautiful! I think I maybe like it even more than the linear algebra proof.
[ Parent
| on HN ]
Re:A Linear Algebra Trick for Computing Fibonacci Numbers Fast
by kccqzy on Tuesday November 07, 2023 @12:08AM
(#38173503)
The generating function approach is the standard way of solving recurrences. In that sense, it isn't beautiful, just routine. But yes the first time I'd seen it I felt my body shudder at that sorcery.