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 »
|
▼ ▼
Post: #3
12-20-2008, 12:05 AM
Hi John, ▼
Post: #4
12-20-2008, 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.
Post: #5
12-20-2008, 02:32 PM
Quote: Joe Horn has done this already:
I've written a List-to-Algebraic routine that will change { 3 3 3607 3803 } to '3^2*3607*3803'. Gerson. ▼
Post: #6
12-20-2008, 03:11 PM
Thank you Gerson,
Post: #7
12-20-2008, 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. ▼
Post: #8
12-21-2008, 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. ▼
Post: #9
12-21-2008, 09:48 AM
Thank you V-PN,
I see the light!! The program works beautifully now.
Post: #10
12-22-2008, 07:32 AM
V-PN 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 HP-28S memory, here: http://www.hpmuseum.org/cgi-sys/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. |