A fast prime factorizing program for Casio fx-5800P

fx-5800P

2 replies to this topic

#1 secutor

secutor

Newbie

• Members
• 3 posts
• Gender:Male

• Calculators:
CASIO fx-CG20
CASIO fx-CG50
CASIO fx-9750GII
CASIO fx-5800P
CASIO fx-991EX

Posted 20 June 2018 - 11:59 AM

"PRIME FACTORS"
{0}→List X:1→I
"N"?→N
While Frac(N÷2)=0
N÷2→N
2→List X[I]
Isz I
WhileEnd
While Frac(N÷3)=0
N÷3→N
3→List X[I]

Isz I

WhileEnd

5→F

While F√(N)

While Frac(N÷F)=0

N÷F→N

F→List X[I]

Isz I

WhileEnd

F+2→F

While Frac(N÷F)=0

N÷F→N

F→List X[I]

Isz I

WhileEnd

F+4→F

WhileEnd

N≠1=>N→List X[I]

If N=1

Then I-1→I

IfEnd

Cls

For 1→J To I

List X[J]

Next

If I=1

Then "           PRIME"

Else

"SEE MODE 3:SD"

IfEnd

-------------------------------------

Example:

N = 6666666667

19

1627

215659

The result will also be available in MODE 3:SD

---------------------------------------

N=215659

215659

PRIME

Edited by secutor, 20 June 2018 - 12:06 PM.

#2 sentaro21

sentaro21

• Members
• 97 posts
• Gender:Male
• Location:JAPAN

• Calculators:
FX-603P fx-4800P fx-5800P
CFX-9850GC PLUS
fx-9860G
fx-9860GII
fx-9860GII-2
fx-9860GII-2 SD
fx-CG10
fx-CG20
fx-CG50
HP-Prime
HP 50G
TI-Nspire CX CAS
TI-84+CE

Posted 21 June 2018 - 09:13 AM

Hi,
The transfer course of the program,
and run program,
This is the fastest by prime factorizing program of fx-5800P which I have used before.

Thanks!!

#3 secutor

secutor

Newbie

• Members
• 3 posts
• Gender:Male

• Calculators:
CASIO fx-CG20
CASIO fx-CG50
CASIO fx-9750GII
CASIO fx-5800P
CASIO fx-991EX

Posted 21 June 2018 - 04:06 PM

Hi,
The transfer course of the program,
and run program,
This is the fastest by prime factorizing program of fx-5800P which I have used before.

Thanks!!

Thank you for telling about the CcLinker dongle, that's exciting news. I will contact Takumako, hopefully it will be possible for him to send to Europe.

Edited by secutor, 21 June 2018 - 04:07 PM.

Also tagged with one or more of these keywords: fx-5800P

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users