diff --git a/pages/linux/factor.md b/pages/linux/factor.md new file mode 100644 index 0000000000..80e04fdeba --- /dev/null +++ b/pages/linux/factor.md @@ -0,0 +1,11 @@ +# factor + +> Prints the prime factorization of a number. + +- Display the prime-factorization of a number: + +`factor {{number}}` + +- Take the input from stdin if no argument is specified: + +`echo {{number}} | factor`