Solve is prime