Topic: Mathematics Problem / Level: advanced

Problem: Write a program to find all the prime factors of a number using Pollards rho algorithm.

Run the code to see the output here...