![Casio FX-CG10 User Manual Download Page 360](http://html1.mh-extra.com/html/casio/fx-cg10/fx-cg10_user-manual_2568313360.webp)
8-66
9. Program Library
• Be sure to check how many bytes of unused memory are remaining before attempting to
perform any programming.
Program Name
Prime Factorization
Description
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.
Purpose
This program continually divides a natural number by factors until all its prime factors are
produced.
Example
462 = 2
×
3
×
7
×
11
egc
w
w
ww
w
Summary of Contents for FX-CG10
Page 555: ...E CON3 Application English...