factor

v0.0.14
factor [NUMBER]...

Print the prime factors of the given NUMBER(s). If none are specified, read from standard input.

Options

--help, -h

Print help information

--version, -V

Print version information

Examples

Display the prime-factorization of a number:

factor {{number}}

Take the input from stdin if no argument is specified:

echo {{number}} | factor

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.