factor

Print prime factors

Syntax
     factor [number]...

     factor option

If no number is specified on the command line, 'factor' reads numbers from standard input, delimited by newlines, tabs, or spaces.

Example:

factor 369

output:

369
3
3
41

"The new electronic interdependence re-creates the world in the image of a global village" ~ Marshall McLuhan

Related linux commands:

dc - Desk Calculator.
expr - Evaluate expressions.


 
Copyright © SS64.com 1999-2019
Some rights reserved