I have the HP41 PPC ROM which contains a routine for factoring any integer into its prime number factors. I am reverse engineering it to make it run on the HP48GX. But might someone already have done that. Anyone know?
Factoring Integer into Primes: HP 48GX


« Next Oldest  Next Newest »

▼
12192008, 09:54 PM
▼
12202008, 12:05 AM
Hi John, ▼
12202008, 11:27 AM
My HP 48SX came with a factoring prg 'built in', among several other prgs in VAR. It factors a 10 digit number in less than half a sec. It shows automatically how long time it takes.
12202008, 02:32 PM
Quote: Joe Horn has done this already:
I've written a ListtoAlgebraic routine that will change { 3 3 3607 3803 } to '3^2*3607*3803'. Gerson. ▼
12202008, 03:11 PM
Thank you Gerson,
12202008, 11:59 PM
I'm trying to key in and run this program, which Gerson Barbosa was kind enough to post, and have a couple of questions. ▼
12212008, 01:12 AM
When you transfer special calculator characters they get automatically replaced by trigraphs (and back) Edited: 21 Dec 2008, 1:15 a.m. ▼
12212008, 09:48 AM
Thank you VPN,
I see the light!! The program works beautifully now.
12222008, 07:32 AM
VPN has already been of help. Anyway, this is Joe Horn's program and documentation: http://www.hpcalc.org/hp48/math/misc/prime.zip I've just found my L2A (list to algebraic) program, which I thought resided only in my HP28S memory, here: http://www.hpmuseum.org/cgisys/cgiwrap/hpmuseum/archv018.cgi?read=138380 (Message #8) An even faster program is presented by Joe Horn himself in message #9, which I hadn't read yet. Thanks, Joe! Regards, Gerson. 