首页
首页 » 其它 » factor

factor


factor

factor [options] n

Calculate and display the prime factors of number n. If n is not specified, numbers are read from stdin, separated by commas, spaces, or tabs. This may take a very long time for numbers that are the product of two primes.

Options

--help

Display help information.

--version

Display version information.

Example:

user@systemname:~> factor 60 60: 2, 2, 3 5