some techneques for solving recurrences