Recursion and renormalization methods in the electronic structure of solids