by ducttapecrown · 3y ago · 0 comments
One funny trick that brought some realism to the lecture: If a and b are the golden ratio and its conjugate, then f_n = a^n + b^n. But since |b| < 1, you can just do f_n = nearest_integer(a^n).
Well, almost. You need to multiply by a factor of 1/sqrt(5) before rounding.
the denominator is important.
also another interesting relation is a^n ~ f_(n+1) + f_(n-1) = f_(n+2) - f_(n-2)