(11C) Prime Factor Finder
|
10-09-2018, 11:53 AM
Post: #1
|
|||
|
|||
(11C) Prime Factor Finder
Program to find Prime Factorization.
This routine is reasonably fast to find prime factor consider the slow computation speed on original Voyager Series. Procedure: f [USER] FIX 0 n [E] display first prime factor and continue with [R/S] until Negative value of n shown indicate that it is done. Example: 1007 = 19 x 53 1007 [E] display 19 [R/S] 53 [R/S] -1007 ------------------------------------------------ 18081 = 3 x 3 x 7 x7 x 41 18081 [E] display 3 [R/S] 3 [R/S] 7 [R/S] 7 [R/S] 41 [R/S] -18081 Program: Prime Factor Finder Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)