1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:42:07 +02:00
tldr/pages/common/factor.md
2021-04-01 18:54:26 +03:00

280 B

factor

Prints the prime factorization of a number. More information: https://www.gnu.org/software/coreutils/factor.

  • Display the prime-factorization of a number:

factor {{number}}

  • Take the input from stdin if no argument is specified:

echo {{number}} | factor