From e29f371ac139fc42405bd304db5b3137947aa375 Mon Sep 17 00:00:00 2001 From: Anmol Singh Jaggi <4741415+Anmol-Singh-Jaggi@users.noreply.github.com> Date: Tue, 9 Oct 2018 03:40:56 +0530 Subject: [PATCH] factor: add page (#2414) --- pages/linux/factor.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/linux/factor.md diff --git a/pages/linux/factor.md b/pages/linux/factor.md new file mode 100644 index 000000000..80e04fdeb --- /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`