You are on page 1of 3

6/1/2019 Math Telepathy

(https://www.cut-the-knot.org/manifesto/index.shtml)

Math Telepathy
This is a stunning magic performed by the computer.

Follow the instructions. In the process you will be requested to compute the difference of two natural numbers (although
on second thought, the omission of the decimal point appears not at all important.) See that you do not make a silly
mistake. The magic fails in the face of ill preparedness. (As is well known in the magic circles, if a spell may go wrong,
it will.) So, if you wish, you can use a calculator to compute that difference. In any event, it may be a good idea to
double check your result.

What if applet does not run? (https://www.cut-the-


knot.org/HelpWithJava.shtml)
Explanation (https://www.cut-the-knot.org/Curriculum/Magic/MathTelepathy.shtml#explanation)

|Contact| (https://www.cut-the-knot.org/MailNotificationPage.shtml) |Front page| (https://www.cut-the-


knot.org/front.shtml) |Contents| (https://www.cut-the-knot.org/content.shtml) |Algebra| (https://www.cut-the-
knot.org/algebra.shtml)

Copyright © 1996-2018 Alexander Bogomolny (https://www.cut-the-knot.org/index.shtml)

https://www.cut-the-knot.org/Curriculum/Magic/MathTelepathy.shtml 1/3
6/1/2019 Math Telepathy

Math Telepathy
After reshuffling a particular digit d may or may not change its position. In the decimal representation of the chosen
number, d was a coefficient of a power of 10, say 10k. After reshuffling, the power may be different: 10m. Now, if we
take the difference of two numbers term by term, i.e. seeking to subtract two terms related to the same digit even if its
position changed, we'll get the sum of differences, like d(10k - 10m). Note the any power of 10 equals 1 modulo
(https://www.cut-the-knot.org/blue/Modulo.shtml) 9. This implies that every term d(10k - 10m) equals 0 modulo 9.
Therefore, the whole difference of the two numbers (the chosen and the reshuffled) equals 0 modulo 9. When you
communicate the computer all the digits, except the selected one, the computer finds the sum modulo 9 of the
presented digits and subtracts the result from 9. This is exactly the digit you have omitted.

(Instead of subtracting the smaller number, one can subtract their digits in turn, or their sum just once. The result is a
multiple of 9 and the trick works as before. In case of 2-digit numbers the triack has a different computer incarnation
(https://www.cut-the-knot.org/Curriculum/Magic/MindReaderNine.shtml).)

Related
material
Read more..
An Arithmetic Magic Trick (https://www.cut-the-
knot.org/Curriculum/Magic/MindReaderNine.shtml)
Bachet's Magic Trick (https://www.cut-the-
knot.org/Curriculum/Magic/Bachet.shtml)
Gergonne's Magic Trick (https://www.cut-the-
knot.org/Curriculum/Magic/GergonneMagic.shtml)
Hummer's Mind Reader (https://www.cut-the-
knot.org/Curriculum/Magic/MindReader.shtml)
Magic in Square (https://www.cut-the-
knot.org/Curriculum/Magic/MagicInSquare.shtml)
Number Guessing Game. All by Computer (https://www.cut-the-
knot.org/Curriculum/Algebra/Cards.shtml)
Barcode Magic (https://www.cut-the-
knot.org/Curriculum/Arithmetic/BarCodeMagic.shtml)
Arithmetic magic matrix (https://www.cut-the-
knot.org/Curriculum/Arithmetic/ArithmeticMagicMatrix.shtml)
https://www.cut-the-knot.org/Curriculum/Magic/MathTelepathy.shtml 2/3
6/1/2019 Math Telepathy
Calendar Magic: an Interactive Gizmo (https://www.cut-the-
knot.org/Curriculum/Algebra/Calendar.shtml)
Two Numbers Guessing Game (https://www.cut-the-
knot.org/arithmetic/rapid/TwoNumbers.shtml)

|Contact| (https://www.cut-the-knot.org/MailNotificationPage.shtml) |Front page| (https://www.cut-the-


knot.org/front.shtml) |Contents| (https://www.cut-the-knot.org/content.shtml) |Algebra| (https://www.cut-the-
knot.org/algebra.shtml)

Copyright © 1996-2018 Alexander Bogomolny (https://www.cut-the-knot.org/index.shtml)

64888580

https://www.cut-the-knot.org/Curriculum/Magic/MathTelepathy.shtml 3/3

You might also like