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

Home > Just Math
4 basic operations (Posted on 2024-05-21) Difficulty: 3 of 5
Let's select 2 integers in the range of 1 TO 100, say X and Y , (X>Y). To avoid fractions X should be a multiple of Y.
On those two integers we will perform 4 operations (addition, subtraction, multiplication and division) and then sum up the 4 answers.

Example X = 81 and Y = 9
sum would be 90
difference 72
product 729
and quotient 9

altogether 900

It's up to the solver to convert the final result, restoring the original values of X and Y.

Solve for final result 324

See The Solution Submitted by Ady TZIDON    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 6 of 10 |
Why is anyone using a computer for a PENCIL AND PAPER problem?

For X and Y the sum of the four operations can be written as XY+(X+Y)+(X-Y)+(X/Y).  Since we are given X as a multiple of Y then let X=KY.
Substituting this into the expression allows for a lot of simplification:
(KY)Y+(KY+Y)+(KY-Y)+(KY/Y)
= KY^2+2KY+K
= K*(Y+1)^2

This last expression has a clear perfect square factor.  The expression is equal to 324=18^2, so we want to look for the perfect square factors, which are the squares of the factors of 18.
Over positive integers there are six factors of 18: 1, 2, 3, 6, 9, 18.
Then the corresponding factorizations of 324 are 324*1^2, 81*2^2, 36*3^2, 9*6^2, 4*9^2, and 1*18^2.

From these factorizations we get (K,Y) = (324,0), (81,1), (36,2), (9,5), (4,8), and (1,17).  The first must be discarded since if Y=0 then we get division by zero in the original problem.  The last must also be discarded since K=1 implies X=Y however the problem statement asks for X>Y.
From this we get four solutions (X,Y) = (81,1), (72,2), (45,5), and (32,8).

  Posted by Brian Smith on 2024-05-21 10:25:58
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 (6)
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