(12C Platinum) Prime Factors Finder - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C Platinum) Prime Factors Finder (/thread-14127.html) |
(12C Platinum) Prime Factors Finder - Gamo - 12-08-2019 05:47 AM This Prime Factor program is adapted from Sinclair Cambridge Programmable Mathematics Program Library on Page 23.6 To work on HP-12C Platinum with ALG mode ——————————————————————- Example: FIX 0 537 537 [R/S] 3 [R/S] 179 [R/S] 1 Answer: Prime factor of 537 is 3 and 179 —————————————————————— 91991 91991 [R/S] 67 [R/S] 1373 [R/S] 1 Answer: Prime factor of 91991 is 67 and 1373 ——————————————————————— Program: 12C Platinum ALG mode Quote:[STO] 0 ÷ 2 = [INTG] Remark: With this Algorithm the computation speed is slow on physical 12C Platinum where The emulators will run much faster. Gamo |