CSE 111, Fall 2004

BINARY MAGIC ANSWER

Here's how to do the trick:

Add up the number on the upper left corner of those cards that the audience answered "yes" to.

For example: An audience member who is 20 years old would pick out the third and fifth cards, which are the only ones with "20" on them. The numbers on the upper left corner of those cards are 4 and 16, respectively, which add up to 20!

11121314151
31323334353
51525354555
71727374757
91929394959
21122314251
31423344354
61526354655
71827384758
101930395059
41322314453
51423364554
61528374655
7
20
29384760
1221303952**
81326314457
91427404558
101528414659
112429424760
1225304356**
162126315257
172227485358
182328495459
192429505560
20
25305156**
323742475257
333843485358
343944495459
354045505560
3641465156**

And here's how it works:

The decimal numeral 20 is represented in 6-bit binary notation by:

010100
Using 0 to represent "no" and 1 to represent "yes", this numeral, 010100, can be interpreted to mean: Now, letting "*" represent multiplication, we have:

Back to the trick


Copyright © 2004 by William J. Rapaport (rapaport@cse.buffalo.edu)
file: 111F04/binarymagicanswer-2004-08-24.html