Post Reply 
Challenge: Generate a 64 in the display (RPN)
09-03-2020, 05:24 PM
Post: #41
RE: Challenge: Generate a 64 in the display (RPN)
\(\pi\) x! x! LN INT x²
Find all posts by this user
Quote this message in a reply
09-03-2020, 06:39 PM
Post: #42
RE: Challenge: Generate a 64 in the display (RPN)
In 3 steps if you don't know how to get "@" in the alpha register on a 41C...

Code:
" "
ATOX
ST+ X

or

Code:

"A"
ATOX
DSE X

There are only 10 types of people in this world. Those who understand binary and those who don't.
Find all posts by this user
Quote this message in a reply
09-03-2020, 07:13 PM (This post was last modified: 09-03-2020 07:26 PM by Gene.)
Post: #43
RE: Challenge: Generate a 64 in the display (RPN)
Keep these coming. Don't throw away your solution if it isn't one of these two or three step ones. Here's one interesting solution (to me)...

7 steps - any RPN with the INT function

DEG
PI
PI
COS
-
ATAN
INT

I suspect that solution was worked backwards!
Gene
Find all posts by this user
Quote this message in a reply
09-03-2020, 07:13 PM
Post: #44
RE: Challenge: Generate a 64 in the display (RPN)
HP-12C, 8 steps, 2^6 = 64

CLX
E^X
ENTER
+
ENTER
1/X
12X
X^Y
Find all posts by this user
Quote this message in a reply
09-03-2020, 07:25 PM
Post: #45
RE: Challenge: Generate a 64 in the display (RPN)
42S
Not very elegant, 7 steps

CL(Sigma)
Sigma+
Sigma+
Enter
Sigma+
Y^X
X^2
Find all posts by this user
Quote this message in a reply
09-03-2020, 09:37 PM
Post: #46
RE: Challenge: Generate a 64 in the display (RPN)
Here is another interesting one.

CLX
GRAD
COS
ENTER
SIN
1/X
+
INT
Find all posts by this user
Quote this message in a reply
09-03-2020, 09:48 PM
Post: #47
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 07:25 PM)DanM Wrote:  Not very elegant, 7 steps

No, that's quite elegant compared to the worst possible solution which is a two-step solution for the HP-50G.

Step 1: reset the calculator!
Step 2: RCWS

:-)
Find all posts by this user
Quote this message in a reply
09-03-2020, 10:31 PM
Post: #48
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 05:22 PM)Massimo C. Wrote:  HP 35s: 4 steps

<-
-> °F
ENTER
+

Not really a « Classic » calc, but I love this solution!

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
09-03-2020, 10:42 PM
Post: #49
RE: Challenge: Generate a 64 in the display (RPN)
HP-11C: 8 steps

CLx
e^x
ENTER
+
x^2
x^2
LSTx
*

— Ian Abbott
Find all posts by this user
Quote this message in a reply
09-03-2020, 11:00 PM
Post: #50
RE: Challenge: Generate a 64 in the display (RPN)
Anyone care to share their two-step solution?

Mine is:

EEX 64
LOG

Namir
Find all posts by this user
Quote this message in a reply
09-03-2020, 11:01 PM
Post: #51
RE: Challenge: Generate a 64 in the display (RPN)
My 2 cents in 5 steps (HP42s):

01 PI
02 IP
03 X↑2
04 DSE ST X
05 X↑2

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
09-03-2020, 11:07 PM
Post: #52
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 09:48 PM)BruceH Wrote:  
(09-03-2020 07:25 PM)DanM Wrote:  Not very elegant, 7 steps

No, that's quite elegant compared to the worst possible solution which is a two-step solution for the HP-50G.

Step 1: reset the calculator!
Step 2: RCWS

:-)

Here's a fugly solution on the 50g that doesn't require a reset, included here just for laughs:

1. RCLF
2. BYTES
3. SWAP
4. BYTES
5. NIP
6. +

Big Grin

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
09-03-2020, 11:08 PM
Post: #53
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 03:19 PM)Valentin Albillo Wrote:        01 "@"
      02 ATOX

Good one!

Namir
Find all posts by this user
Quote this message in a reply
09-04-2020, 12:15 AM
Post: #54
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 11:00 PM)Namir Wrote:  Anyone care to share their two-step solution?

Mine is:

EEX 64
LOG

Namir

This breaks 2 rules - you can't use digits or EEX

Otherwise, nice and short Wink

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
09-04-2020, 01:05 AM
Post: #55
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 11:00 PM)Namir Wrote:  Anyone care to share their two-step solution?

Mine is:
EEX 64
LOG
Namir

Gene: Have to call foul on this one. Sorry. Original instructions said:

"You may not use any of the digit keys 0 - 9, the EEX key or the decimal point."

:-)
Find all posts by this user
Quote this message in a reply
09-04-2020, 01:31 AM
Post: #56
RE: Challenge: Generate a 64 in the display (RPN)
Instead of a short solution targeted to a specific model, here is a simple 10 steps solution that should work on almost any HP RPN calculator starting with the HP-35. It requires only the e^x function which is more widespread than LastX (missing on the HP-35, 70, 80, 21, 22, 37E), or x^2 (missing on the HP-35, 70, 80, 21, 22, 31E, 37E, 38E), :

Code:
CLX
e^x
ENTER
+
ENTER
+
ENTER 
ENTER 
*
*

As far as I know there are only two HP handheld RPN calculators without e^x: the HP-70 and HP-80.
For the HP-70 I don't have a solution, but for the HP-80 you can replace the first two steps above with:
Code:
CLEAR
Sigma+
Find all posts by this user
Quote this message in a reply
09-04-2020, 01:38 AM
Post: #57
RE: Challenge: Generate a 64 in the display (RPN)
On HP-41CX, 4 steps.
Code:

PI
ST+ X
SF IND X
X<>F

Try CC41!
Find all posts by this user
Quote this message in a reply
09-04-2020, 03:10 AM
Post: #58
RE: Challenge: Generate a 64 in the display (RPN)
hp 33s:


IP


Not quite a classic RPN machine, I fear.
Find all posts by this user
Quote this message in a reply
09-04-2020, 03:15 AM
Post: #59
RE: Challenge: Generate a 64 in the display (RPN)
(09-03-2020 10:31 PM)pinkman Wrote:  
(09-03-2020 05:22 PM)Massimo C. Wrote:  HP 35s: 4 steps

<-
-> °F
ENTER
+

Not really a « Classic » calc, but I love this solution!

This works on the HP-32S II as well.
Find all posts by this user
Quote this message in a reply
09-04-2020, 05:49 AM
Post: #60
RE: Challenge: Generate a 64 in the display (RPN)
Yes, this one is cool ! And it works also on the HP-55, 31E, 32E
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)