Skip to main content
The National Cipher Challenge

Reply To: Maths

A Tale of 2 Secrets Forums T.E.M.P.E.S.T. Maths Reply To: Maths

#113220
AndGiggles
Participant

@Crackerjack_404

You may have solved this by yourself already, but there is a decent covering of this in CLRS (Introduction to Algorithms) in the chapter on Number-theoretic algorithms. I can’t quite tell if you are asking about the derivation of the run-time or the relationship between the Fibonacci numbers and the golden ratio. If the former, then CLRS should give a good presentation. For the latter – I seem to recall you saying you know some linear algebra – try writing the recurrences which define the Fibonacci sequence as a matrix equation. Now try diagonalising the matrix. How does this help you?

Report a problem