Parlour Magician

In a parlour game, the “magician” asks one of the participants to
think of a three-digit number a b c 10 { abc }_{ 10 } . Then the magician asks the participant to add the five numbers a c b 10 { acb }_{ 10 } , b c a 10 { bca }_{ 10 } , b a c 10 { bac }_{ 10 } , c a b 10 { cab }_{ 10 } and c b a 10 { cba }_{ 10 } , and reveal their sum. Suppose the sum was 3194 3194 . What was a b c 10 { abc }_{ 10 } originally?

Details and Assumptions

a b c 10 { abc }_{ 10 } means a 3-digit number with a , b , c a,b,c as it's digits and not a × b × c a\times b\times c .

This problem is not original.


The answer is 358.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Rahul Dandwate
Oct 12, 2014

The sum of the 5 numbers can be written as

222 ( a + b + c ) a b c 10 = 3194 222(a+b+c)-{ abc }_{ 10 }=3194

i.e.

222 ( a + b + c 14 ) 86 = a b c 20 222(a+b+c-14)-86={ abc }_{ 20 }

which clearly gives us

a + b + c > 14 a+b+c>14

And,

222 ( a + b + c 14 ) 86 < 1000 222(a+b+c-14)-86<1000

That gives ( a + b + c ) { 15 , 16 , 17 , 18 } (a+b+c)\in \{ 15,16,17,18\}

Trying out these values of a + b + c a+b+c will give the answer to be 358 \boxed{358} .

Nafees Zakir
Oct 12, 2014
1
2
3
4
5
6
7
8
9
>>> for a in range(0,10):
    for b in range(0,10):
        for c in range(0,10):
            total = (a*100+c*10+b)+(b*100+c*10+a)+(c*100+a*10+b)+(b*100+a*10+c)+(c*100+b*10+a)
            if(total==3194):
                print "%d%d%d" % (a,b,c)


358

So the answer would be 358 \boxed{358}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...