factor man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

FACTOR(6)		       BSD Games Manual			     FACTOR(6)

NAME
     factorfactor a number

SYNOPSIS
     factor [number ...]

DESCRIPTION
     The factor utility factors integers larger than 1.	 When a number is fac‐
     tored, it is printed, followed by a “:”, and the list of (prime) factors
     on a single line.	Factors are listed in ascending order, and are pre‐
     ceded by a space.	If a factor divides a value more than once, it will be
     printed more than once.

     When factor is invoked with one or more arguments, each argument will be
     factored.

     When factor is invoked with no arguments, factor reads numbers, one per
     line, from standard input, until end of file or error.  Leading white-
     space and empty lines are ignored.	 Numbers may be preceded by a single
     +.	 Integer less than 2 are rejected.  Numbers are terminated by a non-
     digit character (such as a newline).  After a number is read, it is fac‐
     tored.  Input lines must not be longer than LINE_MAX - 1 (currently 2047)
     characters.

     By default, factor is compiled against the OpenSSL bignum implementation
     openssl_bn(3), which lets it handle arbitrarily large values.  (Note
     however that very large values can take a very long time to factor.) If
     factor is compiled without OpenSSL it is limited to the maximum value of
     unsigned long.

DIAGNOSTICS
     Out of range or invalid input results in an appropriate error message
     being written to standard error.

BSD				 May 15, 2010				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net