 素因数分解

＜概要＞
　素数の積に分解します。

＜前提条件・制限＞
　平方根の関数が必要です。

＜インストール＞

    ソースを適当なディレクトリにデータファイルとしてコピーします。 

＜パラメータ＞
　分解する数値を指定します。デフォルトは1001です。なぜ1001かは一度実行してみてください。

＜実行＞
　ソースをコピーしたディレクトリでコマンドラインから起動します。指定した数値と結果が表示されます。

例：
[F:\] factor 12345678
12345678 = 2 * 3 * 3 * 47 * 14593
[F:\]


ENGLISH TRANSLATION WITH GOOGLE
-------------------------------

<Prerequisites and Restrictions>
"We need a square root function."

<Installation>

     Copy the source to a suitable directory as a data file.

<Parameter>
Specify the numerical value to decompose. Default is 1001. Please run it once to see why it is 1001.

<Execute>
　Start from the command line in the directory where the source was copied. The numbers you specified and the results are displayed.

example:
[F:\] factor 12345678
12345678 = 2 * 3 * 3 * 47 * 14593
[F:\]


LINK
https://web.archive.org/web/20050121104837/http://www2u.biglobe.ne.jp/~gwm01021/rexx6-2.htm