factor: add page (#2414)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
47ff6a5631
commit
e29f371ac1
11
pages/linux/factor.md
Normal file
11
pages/linux/factor.md
Normal file
@@ -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`
|
Reference in New Issue
Block a user