*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> factor (1)              
Title
Content
Arch
Section
 

Contents


FACTOR(1)							     FACTOR(1)


NAME    [Toc]    [Back]

     factor - obtain the prime factors of a number

SYNOPSIS    [Toc]    [Back]

     factor [ integer ]

DESCRIPTION    [Toc]    [Back]

     When you use factor without an argument, it waits for you to give it an
     integer.  After you give it a positive integer less than or equal to 10
     to	the 14th (1.0e14), it factors the integer, prints its prime factors
     the proper	number of times, and then waits	for another integer.  factor
     exits if it encounters a zero or any non-numeric character.

     If	you invoke factor with an argument, it factors the integer as
     described above, and then it exits.

     The maximum time to factor	an integer is proportional to sqrt(n), factor
     will take this time when n	is prime or the	square of a prime.

DIAGNOSTICS    [Toc]    [Back]

     factor prints the error message, "Ouch," for input	out of range.  factor
     prints the	error message ``Q: undefined variable''	for garbage input.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
factor Linux prints prime factors
cpusetGetCPUCount IRIX obtain the number of CPUs configured on the system
SSL_pending Tru64 Obtain number of readable bytes buffered in an SSL object
SSL_pending NetBSD obtain number of readable bytes buffered in an SSL object
SSL_pending OpenBSD obtain number of readable bytes buffered in an SSL object
DH_size Tru64 Get Diffie-Hellman prime size
DH_size NetBSD get Diffie-Hellman prime size
DH_size OpenBSD get Diffie-Hellman prime size
radix IRIX Returns the base number from the real or integer number models
precision IRIX Returns the decimal precision of a number in the real number model
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service