Your company here, and a link to your site. Click to find out more.

factor - Man Page

factor numbers

Examples (TL;DR)


factor [OPTION] [NUMBER]...


Print the prime factors of each specified integer NUMBER.  If none are specified on the command line, read them from standard input.

-h,  --exponents

print repeated factors in form p^e unless e is 1


display this help and exit


output version information and exit


Written by Paul Rubin, Torbjorn Granlund, and Niels Moller.

Reporting Bugs

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>

See Also

Full documentation <https://www.gnu.org/software/coreutils/factor>
or available locally via: info '(coreutils) factor invocation'


April 2024 GNU coreutils 9.5