A California math teacher discovers the perfe...