Program Library - Casio FX-7400GII - SOFTWARE VERSION 2-00 User Manual

Software version 2.00
Hide thumbs Also See for FX-7400GII - SOFTWARE VERSION 2-00:
Table of Contents

Advertisement

8. Program Library

• Be sure to check how many bytes of unused memory are remaining before attempting to
perform any programming.
Program Name
Description
This program continually divides a natural number by factors until all its prime factors are
produced.
Purpose
This program accepts input of natural number A, and divides it by B (2, 3, 5, 7....) to find the
prime factors of A.
• If a division operation does not produce a remainder, the result of the operation is assigned
to A.
• The above procedure is repeated until B > A.
Example
Prime Factorization
462 = 2
3
7
11
8-42

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents