For the first time in more than 25 years, mathematicians have proven a new way to identify prime numbers, and in doing so developed a toolkit that could allow further advances in number theory.