426
PROGRAM SHEET
Program for
Prime Factor Analysis
Description
Produces prime factors of arbitrary positive integers
For 1 <
m
< 10
10
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 (
d
= 3, 5, 7, 9, 11, 13, ....) to
check for divisibility.
Where
d
is a prime factor,
m
i
=
m
i
–1
/
d
is assumed, and division is repeated until
m
i
+ 1
<
d
.
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
Display
Step Key operation
Display
No.
1
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...