Mathematical Genius Protagonist

Story centered on a brilliant mathematician using logic and numbers to solve crimes