One of my personal project was how to make faster prime factoring in Casio calculators including fx-5800P.
I was so impressed by a post in UFC by secutor, it is so fast.
At this moment I still could not find any faster algorithm yet. So I tried make this faster for not only fx-5800P but also other graphing calculators using not only Casio basic but also C.Basic and Casio Python. I also tried to accept 15 digits input on C.Basic and Casio Python.
Anyway, just for your interest, let me introduce fastest prime factoring program (FACTOR-F2) running on fx-5800P. (I'm not sure you are interested in this...)
Download Link of FACTOR-F2
Prime Factoring of 7,849,516,203 (= 3 x 9811 x 88897) takes rather long time. It's about 101 sec with FACTOR-F2.
secutor's original programs gives 111 sec. FACTOR-F2 is about 9% faster than original.
This file size is rather big:
- FACTOR-F2: 21,456 bytes
- WFSUB (same as original): 147 bytes
Totality 21,603 bytes is required in 28,432 bytes memory space of fx-5800P.
Detailed description how to make this is here in Japanese but using Google translate may help, I hope.
Edited by Krtyski, 31 July 2021 - 09:04 AM.