Secretive Shopkeeper V

Algebra Level 3

This is part of the Secretive Shopkeeper set

You enter a shop, and see from the display that pairs of pyjamas cost £ p £p , quilts cost £ q £q , rugs cost £ r £r , suitcases cost £ s £s and tables cost £ t £t . You tell the shopkeeper that you want to buy 1 pair of pyjamas, 1 quilt, 1 rug, 1 suitcase and 1 table, but you don't know what the cost is. He tells you the following:

  1. If you buy p p pairs of pyjamas, q q quilts, r r rugs, s s suitcases and t t tables, it will cost you £25,591.
  2. If you buy q q pairs of pyjamas, r r quilts, s s rugs, t t suitcases and p p tables, it will cost you £18,798.
  3. If you buy r r pairs of pyjamas, s s quilts, t t rugs, p p suitcases and q q tables, it will cost you £14,919.

What is the cost of 1 pair of pyjamas, 1 quilt, 1 rug, 1 suitcase and 1 table?


Details:

  • p , q , r , s , t p,q,r,s,t are positive integers
  • If you underpay him, he will call the police
  • If you overpay him, he will keep the extra money


The answer is 305.

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.

1 solution

Zee Ell
Jan 14, 2018

Let:

S = p + q + r + s + t S = p+q+r+s+t

A = p 2 + q 2 + r 2 + s 2 + t 2 = 25591 A = p^2 + q^2 + r^2 + s^2 + t^2 = 25591

B = p q + q r + r s + s t + p t = 18798 B = pq + qr + rs + st+ pt = 18798

C = p r + q s + r t + p s + q t = 14919 C = pr + qs + rt + ps+ qt = 14919

Then:

S 2 = A + 2 B + 2 C = 25591 + 2 × 18798 + 2 × 14919 = 93025 S^2 = A + 2B + 2C = 25591 + 2 × 18798 + 2 × 14919 = 93025

S = 93025 = 305 S = \sqrt { 93025 } = \boxed {305}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...