Unexpected link between pure mathematics and genetics