factor x^3-5 mod 13