All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Magical Magician (Posted on 2013-02-23) Difficulty: 2 of 5
A magician asked a spectator to think of a three-digit number ABC and then to tell him the sum of numbers ACB, BAC, BCA, CAB, and CBA. He claims that when he knows this sum he can determine the original number. Is that so?

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 3.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
spoiler | Comment 3 of 6 |
Let S=given sum of 5 permutations and (100a+10b+c)=number thought of.

100a+10b+c + S = 222(a+b+c).

Write S=222p+q.

Then p + (100a+10b+c+q)/222 = a+b+c where 100a+10b+c = 222n - q for integer n, making a+b+c = p+n.

Subtract the last 2 equations giving 5n = (p+q) mod 9.

So if you choose 612 and you tell me the sum S=1386, I get, in turn, p=6, q=54, n=3, 100a+10b+c = 222*3-54=612.  

Zeros aren't a problem.  You pick 105 and tell me 1227, I get p=5, q=117, n=1, 100a+10b+c=1*222-117=105.  It's magic!

  Posted by xdog on 2013-02-23 15:45:22
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (10)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information