![]() |
Factoring Integer into Primes: HP 48GX - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Factoring Integer into Primes: HP 48GX (/thread-144838.html) |
Factoring Integer into Primes: HP 48GX - John Ferman - 12-19-2008 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?
Re: Factoring Integer into Primes: HP 48GX - Hal Bitton in Boise - 12-20-2008 Hi John, Re: Factoring Integer into Primes: HP 48GX - John Mosand - 12-20-2008
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.
Re: Factoring Integer into Primes: HP 48GX - Gerson W. Barbosa - 12-20-2008 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.
Re: Factoring Integer into Primes: HP 48GX - Hal Bitton in Boise - 12-20-2008 Thank you Gerson, Re: Factoring Integer into Primes: HP 48GX...help with the RPL syntax - Hal Bitton in Boise - 12-20-2008 I'm trying to key in and run this program, which Gerson Barbosa was kind enough to post, and have a couple of questions. Re: Factoring Integer into Primes: HP 48GX...help with the RPL syntax - V-PN - 12-21-2008 When you transfer special calculator characters they get automatically replaced by trigraphs (and back) Edited: 21 Dec 2008, 1:15 a.m.
Re: Factoring Integer into Primes: HP 48GX...help with the RPL syntax - Hal Bitton in Boise - 12-21-2008 Thank you V-PN,
I see the light!! The program works beautifully now.
Re: Factoring Integer into Primes: HP 48GX...help with the RPL syntax - Gerson W. Barbosa - 12-22-2008 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.
|