To make progress on one of number theory’s most elementary questions, two mathematicians turned to an unlikely source.