factor(1)

factor1

Factor numbers

Usage

factor [OPTION] [NUMBER] ...

Overview

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

--help

display this help and exit

--version

output version information and exit

Releases

17 releases since Debian 1.3 (Bo); the text changed 12 times.

  1. 1.3–3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13
  13. Arch

--exponents since Debian 13 (Trixie); -h since Debian 13 (Trixie).

Author

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

Reporting bugs

Report bugs to: <[email protected]>.
Report any translation bugs to: <https://translationproject.org/team/>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>

From coreutils 9.12-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.