tldr/pages/common/factor.md

13 lines
313 B
Markdown

# factor
> Prints the prime factorization of a number.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/factor-invocation.html>.
- Display the prime-factorization of a number:
`factor {{number}}`
- Take the input from stdin if no argument is specified:
`echo {{number}} | factor`