was he logical and good at math