tldr/pages/common/factor.md

13 lines
313 B
Markdown
Raw Normal View History

2018-10-08 23:10:56 +01:00
# factor
> Prints the prime factorization of a number.
2021-03-30 14:53:51 +01:00
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/factor-invocation.html>.
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`