This is the homework index page for INFO 150.
The textbook for the course is Discrete Mathematics: Mathematical Reasoning and Proof with Puzzles, Patterns, and Games by Douglas E. Ensley and J Winston Crawley. Most of the assignments are from this text.
Make a table with a column for each of the five algorithms, and a row for each of the following values of n: 10, 20, 50, 100, 200, 500, and 1000. In the entry for each row and column, put the time that the algorithm would take for that n, in terms of seconds, days, or years (whichever is most informative. If the answer is "more than 10100 years", you can just say "too long".
Let the matrices A and B be:
A = 1 1 B = 1 0
0 1 1 1
A^n = 1 n B^n = 1 0
0 1 n 1
F(2n+1) F(2n)
F(2n) F(2n-1)
Last modified 8 December 2017