A mathematician discovers that the universe can be reduced to a single repeating pattern — and someone is trying to erase it.