HP Forums
Berger game - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: Berger game (/thread-5874.html)



Berger game - ggauny@live.fr - 03-14-2016 11:58 AM

Hi,
In my studiying programs in library WP34s, in the Berger program, I think is mistake. But I am with prudency writting because it is a Marcus Von Cube's program.
It is not possible write "JMP". But it is said " Using a label and GTO doesn't save noticable time". Then me I puted "back" (as Dieter was said) instructions and I found answer is 2592.
2^5*9^2 = 2592.
I think it the alone solution.

I am wonder why this name, is it like sheapard ? In french a berger is a sheapard.

Am-I right in the number ?


RE: Berger game - Marcus von Cube - 03-16-2016 05:51 PM

(03-14-2016 11:58 AM)ggauny@live.fr Wrote:  In my studiying programs in library WP34s, in the Berger program, I think is mistake. But I am with prudency writting because it is a Marcus Von Cube's program.

I don't remember this being my program. Nevertheless, You are always free to critizise anybody's work if you find mistakes or bugs or have impovements.

The JMP instruction is translated by the PC based assembler into GTO, SKIP or BACK, whatever is needed. You cannot use it directly on the machine. In most cases it saves a label. It is most useful for library routines which are not meant to edited on the machine itself but on the PC and then recompiled and sent to the emulator and/or calculator.


RE: Berger game - Don Shepherd - 03-16-2016 07:42 PM

Marcus, I think the OP is referring to a thread I did a few years ago. Find a, b, c, and d such that a^b x c^d = abcd. I think the only solution was 2592 (2^5 * 9^2). It's rather easy to find using brute force.

Don


RE: Berger game - Harald - 03-16-2016 11:04 PM

(03-16-2016 07:42 PM)Don Shepherd Wrote:  Marcus, I think the OP is referring to a thread I did a few years ago. Find a, b, c, and d such that a^b x c^d = abcd. I think the only solution was 2592 (2^5 * 9^2). It's rather easy to find using brute force.

Don

Are a, b, c, and d supposed to be single digit numbers? Or is something like 10^01*02^11 also permitted?


RE: Berger game - Don Shepherd - 03-16-2016 11:08 PM

(03-16-2016 11:04 PM)Harald Wrote:  
(03-16-2016 07:42 PM)Don Shepherd Wrote:  Marcus, I think the OP is referring to a thread I did a few years ago. Find a, b, c, and d such that a^b x c^d = abcd. I think the only solution was 2592 (2^5 * 9^2). It's rather easy to find using brute force.

Don

Are a, b, c, and d supposed to be single digit numbers? Or is something like 10^01*02^11 also permitted?

I had in mind single digits for a, b, c, and d when I posed the challenge.


RE: Berger game - Harald - 03-16-2016 11:20 PM

(03-16-2016 11:08 PM)Don Shepherd Wrote:  
(03-16-2016 11:04 PM)Harald Wrote:  Are a, b, c, and d supposed to be single digit numbers? Or is something like 10^01*02^11 also permitted?

I had in mind single digits for a, b, c, and d when I posed the challenge.

Ah, I see, reading that would have helped ;-) "4 digit number" Smile
Thanks!


RE: Berger game - ggauny@live.fr - 03-17-2016 07:28 AM

Hi Marcus,
It was not a criticisum of course. Only a simple question. It is for that reason that I was impossible write "JMP" instruction.
And I was thinking you have do this programme it is because your name is
in library in front this program.

Thanks for all for respons and bravo to mister Shepherd.