pollardrho: Implementation of Pollard's rho algorithm for factorizing an...

Description Usage Arguments Value References Examples

Description

Implementation of Pollard's rho algorithm for factorizing an integer n into two non-trivial prime numbers.

Usage

1

Arguments

n

Integer to be factored into product of smaller integers.

Value

Vector containing the two prime factors of n, should they exist.

References

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

Examples

1
2

aschleg/numberr documentation built on May 14, 2019, 10:31 a.m.