Number Theory Trace Formulas and Discrete Groups