A person who exhibits an extraordinary ability in one subject (often mathematics) whilst being intellectually disabled in many other domains.
Someone who obnoxiously claims to be knowledgeable on a subject.