Prime Factor Analysis - Casio FX-7400G PLUS User Manual

Hide thumbs Also See for FX-7400G PLUS:
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 × 17
[2]
440730 = 2 × 3 × 3 × 5 × 59 × 83
[3]
262701 = 3 × 3 × 17 × 17 × 101
Preparation and operation
• Store the program written on the next page.
• Execute the program as shown below.
Step Key operation
176
PROGRAM SHEET
m
< 10
10
d
is a prime factor,
d
.
Display
m
m
d
=
/
is assumed, and division is repeated until
i
i
–1
Step Key operation
No.
1
d
= 3, 5, 7, 9, 11, 13, ....) to check
Display

Advertisement

Table of Contents
loading

Table of Contents