This is part of the Secretive Shopkeeper set
You enter a shop, and see from the display that armchairs cost , bikes cost and cameras cost . You tell the shopkeeper that you want to buy 1 armchair, 1 bike and 1 camera, but you don't know what the cost is. He tells you the following:
How much money (in pounds) should you give to the shopkeeper for 1 armchair, 1 bike and 1 camera?
Details:
are positive integers
If you underpay him, he will call the police
If you overpay him, he will keep the extra money
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.
From the information from the question: a 2 + b 2 + c 2 = 3 3 5 3 0 a b + a c + b c = 3 0 0 5 3 If you add the first equation to 2 times the second equation you get: ( a 2 + b 2 + c 2 ) + ( a b + a c + b c ) + ( a b + a c + b c ) = 3 3 5 3 0 + 3 0 0 5 3 + 3 0 0 5 3 a 2 + b 2 + c 2 + 2 a b + 2 a c + 2 b c = 9 3 6 3 6 ( a + b + c ) 2 = 9 3 6 3 6 a + b + c = 3 0 6
Hence 1 armchair, 1 bike and 1 camera costs £ 3 0 6