Product and Sum

The difference between the product and sum of 2 unknown positive integers, X X and Y Y , is exactly 2018.

Hence, find the positive difference between the 2 unknowns.

1 0 670 673

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

Winston Choo
Sep 8, 2018

X X + Y Y + 2018 = X X Y Y ,

X Y XY - X X - Y Y + 1 = 2019,

( X X - 1) ( Y Y - 1) = 2019 = 3 x 673. So 1 of the unknowns is 4 while the other unknown is 674.

Nevertheless, the positive difference between the 2 unknowns is 674 - 4 = 670

Note that the sum of the 2 unknowns cannot be 2018 more than the product.

X X + Y Y = X X Y Y + 2018,

X X Y Y - X X - Y Y + 1 = - 2017

( X X - 1) ( Y Y - 1) = - 2017

As 0 is not a positive integer, one of the unknowns is definitely negative, so this is obviously wrong, hence there is only 1 solution, that the product is 2018 more than the sum, which is above.

You need to specify that X X and Y Y are positive integers. Otherwise, there would be infinitely many solutions.

Blan Morrison - 2 years, 9 months ago

Log in to reply

Thank you for telling me that, I actually changed my question to unknown positive integers before reading your comment on this!

Winston Choo - 2 years, 9 months ago

Note that we could also factor 2019 2019 simply as 1 × 2019 1 \times 2019 , giving us X = 2 , Y = 2020 X = 2, Y = 2020 and thus Y X = 2018 Y - X = 2018 , but this of course was not one of the given options.

Brian Charlesworth - 2 years, 9 months ago

Log in to reply

The sum of 1 and 2019 is 2020, the product of 1 and 2019 is 2019, how is the difference 2018?

I don't understand your logic of 1 and 2019 being the answer.

Winston Choo - 2 years, 9 months ago

Log in to reply

That's not what I said. We could have the numbers being 2 2 and 2020 2020 , since 2 × 2020 ( 2 + 2020 ) = 2018 2 \times 2020 - (2 + 2020) = 2018 as required, and the difference between 2 2 and 2020 2020 is 2018 2018 . However, of the given options only 670 670 is possible.

Brian Charlesworth - 2 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...