You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The algorithm finds only one factor. More factors can be found by dividing by the found one and recursively applying the function again. Works with symbolic and double.
Example:
x = sym("2");
y = nextprime(x^20);
z = nextprime(y+10000);
PollardsRho(y*z)
ans =
1058591
OR:
PollardsRho(1517)
ans =
37
Cite As
Thomas (2026). Two versions of Pollard's rho factorization algorithm (https://in.mathworks.com/matlabcentral/fileexchange/113465-two-versions-of-pollard-s-rho-factorization-algorithm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.93 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
