Program Sheet; Prime Factor Analysis - Casio fx-9750G Manual

Program library
Hide thumbs Also See for fx-9750G:
Table of Contents

Advertisement

Program for

Prime Factor Analysis

Description
Produces prime factors of arbitrary positive integers
For 1 <
Prime numbers are produced from the lowest value first. "END" is displayed at the end
of the program.
(Overview)
m
is divided by 2 and by all successive odd numbers (
for divisibility.
Where
+ 1 <
m
i
Example
[1]
119 = 7
[2]
440730 = 2
[3]
262701 = 3
Preparation and operation
• Store the program written on the next page.
• Execute the program as shown below.
Step Key operation

PROGRAM SHEET

m
< 10
10
d
m
is a prime factor,
d
.
17
3
3
5
59
3
17
17
101
Display
m
d
=
/
is assumed, and division is repeated until
i
i
–1
83
Step Key operation
No.
1
d
= 3, 5, 7, 9, 11, 13, ....) to check
Display
376

Advertisement

Table of Contents
loading

Table of Contents