A young math genius sees logic thwarted by one truly baffling equation: love. Teenage math prodigy Nathan struggles when it comes to building relationships with other people, not least with his mother, Julie. In a world difficult to comprehend, he finds comfort in numbers. And when Nathan is taken under the wing of an unconventional and anarchic teacher, Mr. Humphreys, the pair forge an unusual friendship.