Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ factor(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

factor

PURPOSE

     Factors a number.

SYNOPSIS
     factor [ number ]


DESCRIPTION

     When called without an argument, the factor command waits
     for you to enter a positive number less than 2(5)(6).  It
     then writes the prime factors  of that number to standard
     output.   It displays  each factor  the proper  number of
     times.  To exit, enter a 0 or any nonnumeric character.

     When called with an argument, factor determines the prime
     factors of number, writes the results to standard output,
     and exits.

EXAMPLE

     To calculate the prime factors of "123":

       factor  123

     This displays:

       123
            3
            41

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