Description Usage Arguments Value References Examples
Implementation of Pollard's rho algorithm for factorizing an integer n into two non-trivial prime numbers.
1 | pollardrho(n)
|
n |
Integer to be factored into product of smaller integers. |
Vector containing the two prime factors of n, should they exist.
Barnes, C. (2004). Integer Factorization Algorithms (1st ed.). Corvallis, OR: Department of Physics, Oregon State University. Fermat's factorization method. (2017, January 31). In Wikipedia, The Free Encyclopedia. From https://en.wikipedia.org/w/index.php?title=Fermat
1 2 | pollardrho(9)
pollardrho(7799)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.