tldr/pages/common/factor.md

13 lines
280 B
Markdown
Raw Normal View History

2018-10-08 23:10:56 +01:00
# factor
> Prints the prime factorization of a number.
> More information: <https://www.gnu.org/software/coreutils/factor>.
2018-10-08 23:10:56 +01:00
- Display the prime-factorization of a number:
`factor {{number}}`
- Take the input from stdin if no argument is specified:
2018-10-08 23:10:56 +01:00
`echo {{number}} | factor`