But Patel, now an 18-year-old senior at The Heights School in Potomac, Maryland, underwent a math conversion in middle school, thanks to his sixth-grade teacher who got him interested in the subject, and another teacher who introduced him to the MATHCOUNTS program, which sharpens students’ math skills and sponsors math competitions.