- 0
Notifications Mark All Read
- Login
- Get Prime
Sum and Product Confusion Puzzle
Solve the Sum and Product Confusion Puzzle
Go through the puzzle and help in solving Sam and Pete Sum and Product Confusion Puzzle.
Sum Sam and Product Pete are in class when their teacher gives Sam the Sum of two numbers and Pete the product of the same two numbers (these numbers are greater than or equal to 2). They must figure out the two numbers.
- Sam: I don’t know what the numbers are Pete.
- Pete: I knew you didn’t know the numbers… But neither do I.
- Sam: In that case, I do know the numbers.
What are the numbers?
Solution
Detailed Explanation
Sum and Product Confusion Puzzle:
Assume numbers are a and b
As Sam has sum of no. a + b = x (which has given )—————(1)
and Pete has product a*b = y (given)
now,
(a + b)^{2} = a^{2} + b^{2} + 2ab
find out a^{2} + b^{2} from above
now find
a – b = \sqrt{a^{2} + b^{2} – 2ab}——————–(2)
solve (1) and (2)
n get the a and b … it depends on x (sum) and y (product)
Finally we can say if you know sum (name) and product (name) you know the number 😛
Prime Course Trailer
Related Banners
Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription
Get over 200+ course One Subscription
Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others
- Crossing the Bridge Puzzle Answer
- Death & Marbles Puzzle Answer
- Airplane Seat Puzzle Answer
- 2 Eggs & 100 Floors Puzzle Answer
- Bank Cashier Puzzle Answer
- Calendar Cube Puzzle Answer
- Ants & Triangle Puzzle Answer
- Measuring 9 mins Puzzle Answer
- Bulb in a Circle Puzzle Answer
- Camel & Bananas Puzzle Answer
- King & Wine Puzzle Answer
- Heaven or Hell Puzzle Answer
- 3 Mislablled Jars Puzzle Answer
Login/Signup to comment