2005-05-02 15:01:42 +02:00
|
|
|
.TH FACTOR 1
|
|
|
|
.SH NAME
|
|
|
|
factor \- factor an integer less than 2**31
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBfactor \fInumber\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B factor 450180
|
|
|
|
# Print the prime factors of 450180
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\fIFactor\fR prints the prime factors of its argument in increasing order.
|
|
|
|
Each factor is printed as many times as it appears in the number.
|