Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ factor(1) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



FACTOR(1)       DOMAIN/IX Reference Manual (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
56 16
2 (about 7.2 times 10 ).
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 6/10/85 FACTOR-1

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