HP Forums

Full Version: HP 42S COMB bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I discovered what I think is a bug in my HP 42S.

Suppose you want to figure the number of Combinations of 8 things taken 5 at a time. But you mistakenly enter the arguments in opposite order:

5, ENTER, 8, COMB

You get an "Invalid Data" error message. Fine. So you press X EXCHANGE Y to put them in the right order. The display confirms 8 in the Y register and 5 in the X register. But if you press COMB you still get the "Invalid Data" error!

In fact the calculator seems to get stuck in a mode where ANY inputs to COMB give "Invalid Data" error. Clearing X, the whole stack, power cycling don't get it out of this mode. The only way I've found to get back to normal is to perform some arithmetic.

For example, multiply the 5 in the X register by 1:

1, MULTIPLY, COMB
then gives the correct answer of 56.


Anyone else seen this?

Yes, it is a classic bug. I saw it documented on some
article, perhaps in the Forum.

Peter

Yes, it is a well known bug, and affects COMB and PERM the same way.

Ken, Peter and Andres --

I can't replicate the error you describe on my 1989 HP-42S (serial # 2939S33496). Simply re-executing COMB or PERM throught the PROB menu, after pressing X<>Y following the "Invalid Data" message, gives me the correct answers. Was this error characteristic of late or very early units?

I checked 5 HP42S and only one didn't display the bug. That one was made in the USA in 1988.
The other four made between 1993 to 1999 all displayed the bug. If I had to guess I would say it only occurs in the later models.

I had a 1990 model which I service-exchanged in 1999, and both displayed the bug.