idiot savant
noun
Meaning
A person who exhibits an extraordinary ability in one subject (often mathematics) whilst being mentally retarded in all other fields.
Synonyms