Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ factor(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought



FACTOR(1)                DOMAIN/IX SYS5                 FACTOR(1)



NAME
     factor - factor a number

USAGE
     factor [ number ]

DESCRIPTION
     When factor is invoked with a number argument, it prints
     each argument's prime factors the proper number of times.
     The number specified must be a positive integer less than
     256 (about 7.2 times 1016).

     Without an argument, factor waits for a number to be typed
     in.  After printing the number's prime factors, it waits for
     another number.

     Factor exits if it encounters a zero or any non-numeric
     character.  The maximum time to factor is proportional to
     sqrt(n) and occurs when n is prime or the square of a prime.

DIAGNOSTICS
     ``Ouch'' for input out of range or for garbage input.































Printed 12/4/86                                          FACTOR-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026