Trivia quiz and mini-challenge: Classic HP35 - 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: Trivia quiz and mini-challenge: Classic HP35 (/thread-125830.html) |
Trivia quiz and mini-challenge: Classic HP35 - Allen - 10-07-2007 Two quick quizzes for your Sunday pleasure: 1. Who bought the first HP 35 when it was first released in 1972?
2. Sometimes you will see a calculator display read: 123456789
as proof that the keybord is working. But there is more than one way to get the calculator to display this. What keystroke sequence (on the HP35 or HP35s) provides the FEWEST number of keys used. Obviously there are two easy answers:
Trivia quiz and mini-challenge: Classic HP35 - Jake Schwartz - 10-07-2007
Quote: Hint: Check HP Key Notes, Volume 6 Number 1 (February 1982) Page 14 in the lefthand column for the answer.
Jake Schwartz
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 I'm not sure of the sequence that requires the fewest keystrokes, I've not thought up anything shorter than keying in the digits. What might be more interesting would be a practical method (i.e. at most a couple of hundred keystrokes) that uses a minimum of *different* keys to get the number 123456789 on the display. I.e. what minimal functionality is required in order to get this display. Off the top of my head, I can think of a simple algorithm that requires four different functions / five different keys (need that shift). To get the '1' digit do something like:
CLx
Repeat similar sequences for the other digits and add them together. I'm sure somebody here can do better...
- Pauli
Re: Trivia quiz and mini-challenge: Classic HP35 - Gerson W. Barbosa - 10-07-2007 On the HP-35, the best I was able to come up with was this 10-key sequence:
10 Simpling typing 123456789 is still better...
Gerson.
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 You mean yx instead of xy I hope :-) This sequence is one operation shorter but the same number of keystrokes:
10
Re: Trivia quiz and mini-challenge: Classic HP35 - Gerson W. Barbosa - 10-07-2007
Quote: No, on the classic HP-35, that's the way it is! Unfortunately it also lacks 10x. Anyway, your sequence is great on the newer HP-35S. Regards,
Gerson.
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 Oops, somewhere between between reading the question and attempting to solve it, I slipped from a 35 to a 35s :-( My earlier algorithm is also wrong for a 35.
Re: Trivia quiz and mini-challenge: Classic HP35 - Allen - 10-07-2007
Quote:
Not necessarily looking for the fewest keystrokes, but the fewest number of working keys. E.g. 81would be 4 different keys: +,1,8 and 9. Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 huh?
That sequence doesn't seem like it would work properly...
However, here is a sequence that only requires three working keys and 83 keystrokes: 1 You can get rid of the single numeric (1) keystrokes and use CLx, COS and extra ENTERs appropriately. To understand what I did, take the binary expansion of 123456789 and read the bits left to right.
Re: Trivia quiz and mini-challenge: Classic HP35 - Namir - 10-07-2007 How about:
987654321 I started with a number that is the reverse of 123456789. Also,
1111111111 Namir
Edited: 7 Oct 2007, 9:05 p.m.
Re: Trivia quiz and mini-challenge: Classic HP35 - Gerson W. Barbosa - 10-07-2007 11111.11111 17 keystrokes but five keys. You're the winner!
Gerson.
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 Another almost solution at 7 commands:
5 To avoid the "10x", use: "EEX 5 ENTER" instead of the first two lines. Likewise, replace the "x2" with "ENTER *" Eight keystrokes on my 15c, no idea on the 35. Looks okay in FIX 0 mode.
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 Change the final '1' to '1.1' to remove the dependency on the display setting at the cost of two additional keystrokes. This puts us more than typing the number in directly :-(
- Pauli
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-07-2007 What about this slight modification:
9 11 key strokes, 9 different keys. - Pauli
Edited: 7 Oct 2007, 9:35 p.m.
Re: Trivia quiz and mini-challenge: Classic HP35 - designnut - 10-08-2007 I just key in .0081 1/x Sam
Answer missing a digit!!! - Namir - 10-08-2007 You get: 123.45679 Notice that there is an 8 missing ...... so it's back to the drawing board my friend!! Namir
PS: I saw this same mistake on another web site. Hmmmmmmmm .. did you copy your answer from that site? Edited: 8 Oct 2007, 11:57 a.m.
Re: Trivia quiz and mini-challenge: Classic HP35 - Alex L - 10-08-2007
Quote:
3 keys, but lots of keystrokes:
This has the added "advantage" of allowing one to truthfully declare: "Tested basic math operation and numeric keyboard."
Re: Trivia quiz and mini-challenge: Classic HP35 - Stefan Vorkoetter - 10-08-2007 How about: 3 ENTER x 3803 x 3607 x Thirteen keystrokes, seven different keys, only five working digit keys.
Stefan
Re: Trivia quiz and mini-challenge: Classic HP35 - Stefan Vorkoetter - 10-08-2007 Or the slightly shorter: 9 ENTER 3803 x 3607 x
Twelve keystrokes, but eight different keys of which six are digit keys.
Re: Trivia quiz and mini-challenge: Classic HP35 - Namir - 10-08-2007 Enter the number as the hexadecimal: 75BCD15h And the convert it to the decimal. Still not less than 9 keys. And another method. Store 1E9 in register A and then repeat:
RCL A You are generating random numbers between 1E9 and 2E9. A lucky random number will give you 123456789. The process uses 7 keys.
These keystrokes test how touch the keyboard is!!
Re: Trivia quiz and mini-challenge: Classic HP35 - Stefan Vorkoetter - 10-08-2007 I don't think the Classic HP35 has a RAND key.
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-08-2007 Finally got one that is less than nine keystrokes on a 15c. Not applicable to a 35 though. A total of 7 commands, 8 keystrokes and 7 working keys required:
9 There are plenty of other ways to produce the 90 if we're in degrees mode (e.g. 0 COS-1; 1 SIN-1 or ENTER TAN-1).
- Pauli
Re: Trivia quiz and mini-challenge: Classic HP35 - Namir - 10-08-2007 We are having fun with this problem. Not adhering 100% to the rules is part of the fun. If we want to get serious, this challenge is downright meaningless!! But like I said, we are having fun.
Namir Edited: 8 Oct 2007, 4:50 p.m.
Re: Trivia quiz and mini-challenge: Classic HP35 - Namir - 10-08-2007 You solution also works with the HP-41C/CV/CX. Good show man!!
Namir
(Spoiler) Trivia quiz and mini-challenge: Classic HP35 - Allen - 10-08-2007 Wow! Excellent submissions!!
Re: Trivia quiz and mini-challenge: Classic HP35 - Paul Dale - 10-08-2007 And of course if we're after a display of 1234567890 we can use this sequence which is one keystroke shorter but again not good for a 35 (6 commands, 7 keystrokes, 6 working keys on the 15c):
9
9
|