Note: You are looking at a static copy of the former PineWiki site, used for class notes by James Aspnes from 2003 to 2012. Many mathematical formulas are broken, and there are likely to be other bugs as well. These will most likely not be fixed. You may be able to find more up-to-date versions of some of these notes at http://www.cs.yale.edu/homes/aspnes/#classes.
1. Your task
Do Exercises 3.4.6, 3.4.46, 4.1.16, 4.1.22, and 4.1.28.
For Exercise 3.4.6, it's ok to have a formula that splits into cases, e.g. "f(n) = n2 when n mod 3 = 0, n3 when n mod 3 = 1, and 0 when n mod 3 = 2."
- For Exercise 4.1.28, assume that all the letters must be uppercase.