How To Really Solve This Tricky Logic Puzzle? (VI)
Published on November 16, 2022 by Hemanth
--
Welcome to the sixth entry in the tricky logic puzzle series. In this iteration, we start with a story that leads up to a fun and challenging logic puzzle.
But unlike the previous puzzles in this series, this puzzle also requires some algebraic reasoning skills as well. Now that we have covered the basic requirements, let us get started with the story straight away.
On a beautiful Sunday afternoon, Matt — the human being, Can — the puppy, and Cheat — the robot are chilling in their garden. Among the three of them, Cheat is particularly happy with the break.
This is because he had recently put himself through harsh logic training to become the perfect logician. And the perfect logician, he became! Now, back to the garden.
As they often say, good things don’t last forever. Out of the blue, a wild alien spaceship appears and casts a tractor beam on Cheat. As Matt and Can watch helplessly, Cheat is mercilessly abducted by the alien spaceship.
Cheat gets abducted by the alien spaceship — Illustrative art created by the author
After this ordeal, as Matt and Can try to gather themselves, yet another wild alien spaceship appears out of the blue and snatches the two of them, again with a tractor beam.
Matt and Can get abducted by another alien spaceship — Illustrative art created by the author
It looks like the afternoon is going to get adventurous for our three protagonists.
Matt and Can Prepare for their Challenge
As Matt and Can arrive at the ship’s deck, they are greeted by a strange-looking alien. The alien tells them the following information:
“We are trying to gauge the level of intelligence you earthlings possess. We will allow the two of you to establish one-way communication via radio waves with your metallic buddy. Your buddy, in turn, is locked by force field in the other spaceship.
Your buddy will be given three clues to figure out the passcode to unlock his force field cell. If he figures the passcode out, we will let him go. In the meantime, you will be listening to whatever he says and hears. But he will not be able to hear anything you say from here.
Based on whatever you hear, you will need to tell us what the passcode is. If you tell us the correct answer, we will let you go. Otherwise, we are taking you with us to our home planet for further testing.”
Horrified after hearing this insane proposition, Matt and Can slowly begin to understand that they are not in a position to bargain. Without saying a word to each other, they gather all the attention they can muster as they listen-in on Cheat’s audio feed.
Cheat Faces His Challenge
On the other spaceship, a more composed Mr-perfect-logician-Cheat is briefed by another strange looking alien:
“We require you to find the passcode to your force field. The passcode is comprised of three digits, with each successive digit (left-to-right) being a whole number that is at least equal or greater than the previous one on the left.
To help you figure out your passcode, we can give you up to three clues, but you are free to answer after the first clue. During the whole process, your buddies will be listening to our conversation from the other spaceship.
After each clue, you have a chance to answer or clear any doubts you might have. However, please restrict your statements/questions to the clues only. If you try to communicate with your buddies, we will not let you go and take you to our home planet for further testing.
If you manage to figure out your passcode, we will let you go.”
Cheat assesses the possibilities and figures out that negotiation is not an option. Then, he swiftly agrees to proceed with the challenge.
The Tricky Logic Puzzle — The Challenge
The alien in Cheat’s spaceship reveals the first clue as follows:
1. The product of the three numbers of your passcode is 36.
Cheat thinks for a moment, nods, and asks for the second clue. The alien proceeds to reveal the following second clue:
2. The sum of the three numbers is the number of logic problems you have solved today.
Cheat thinks intensely for a moment, and says, “Okay, can we now proceed to the third clue?” Matt and Can, who are listening in on this conversation, start sweating.
They know that Cheat knows the number on the right-hand side of the sum. But they do not know the number and have no way to ask Cheat. In any case, the alien proceeds to reveal the following third clue:
3. The largest of the three numbers occurs only once in the passcode.
Within the next few moments, Matt and Can first hear three beeps, and then hear what sounds like a tractor beam activating. At this point, the alien from the other spaceship comes on the radio and says:
“Your metallic buddy figured out the passcode and has left now.”
Matt and Cheat, both struck with horror, try to calm themselves down. After an intense, huddled discussion for five minutes, with confident smiles on their faces, they reveal the passcode that Cheat had figured out. The impressed aliens let them go.
Now, it is your turn. Can you figure out what the passcode was? And can you come up with a line of reasoning for how Matt and Can were able to figure the passcode out?
Spoiler Alert
Beyond this section, I will be discussing the solution to this puzzle. So, if you wish to try and solve it on your own, I suggest you pause reading this essay at this point.
After you are done with your attempt, you may continue reading the essay and compare approaches.
Hint (Skip this if you wish for an added challenge)
Note that at the end of the second clue, cheat, the perfect logician, would have keyed in the passcode if he could. But he did not. Why would that be?
Setting Up the Tricky Logic Puzzle
Let us start by summarising the three clues that Cheat used to figure out the passcode:
1. The product of the three numbers of your passcode is 36.
2. The sum of the three numbers is the number of logic problems that Cheat had solved that day.
3. The largest of the three numbers occurs only once in the passcode.
Now, to make our lives easier, let us transform these clues into mathematical statements involving three variables ‘x’, ‘y’, and ‘z’, where x ≤ y ≤ z.
1. x*y*z = 36
2. x + y + z = [Number of logic problems that Cheat solved that day]
3. z is a unique number. That is, z is not equal to x, and z is not equal to y.
Finally, to start solving the problem, let us put ourselves in Matt and Cheat’s shoes.
Assembling the Puzzle Pieces Together
Referring to the hint that I provided earlier, why do you think Cheat did not figure the passcode out after the second clue? The only logical explanation could be that there was insufficient information; he needed the third clue!
As soon as he heard the third clue, he was able to figure out the passcode. This suggests that he had multiple answers in mind. The third clue revealed to him that only one of the answers he had in mind could be valid.
We are getting close to solving the puzzle. Now, the key is to somehow make sense of the second clue/expression. But we do not know how many logic puzzles Cheat solved that day. What shall we do now?
Simple. By considering the conditions mentioned, we could first break down all possible multiplicative combinations of whole numbers that lead to 36 as follows (because x*y*z = 36):
Potential passcode combinations — Math illustrated by the author
We are almost there; just one last step before we arrive at the solution.
The Solution to the Tricky Logic Puzzle
Wesee that there are only eight possible combinations. Now, let us work out the sum of each of these combinations as follows:
Sums of the digits of potential passcode combinations — Math illustrated by the author
Now, look for combinations that lead to the same sum. This is because Cheat was considering multiple options before he heard the third clue. Bingo! We have two candidates with the same sum: [1, 6, 6] and [2, 2, 9].
Two sums match — math illustrated by the author
The third clue was that the largest number is unique. In the combination [1, 6, 6], 6 is the largest number, but it repeats twice. However, in [2, 2, 9], 9 is the largest number and is unique!
Matt, Can and Cheat get away safely from the aliens — Illustrative art created by the author
So, the passcode is [2, 2, 9]. I hope you had fun solving this puzzle. If you are interested in solving similar logic puzzles in the future, keep an eye on this space for more!
Update Post Publishing
Avid puzzle-solver and reader Avi Kotzer rightly pointed out that combinations ‘C’, ‘D’, and ‘E’, may be dismissed because their third number is not a single digit number, but a two-digit number.
If you will recall, the original passcode allows for three digits only. So, these combinations may be dismissed, leaving us with only five valid combinations to choose from.
Also, kudos to reader Peter Cooper Hay for noting the same issue with my solution!
If you’d like to get notified when interesting content gets published here, consider subscribing.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-advertisement
1 year
Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent
1 year
Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Cookie
Duration
Description
_gat
1 minute
This cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
__gads
1 year 24 days
The __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites.
_ga
2 years
The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
_ga_R5WSNS3HKS
2 years
This cookie is installed by Google Analytics.
_gat_gtag_UA_131795354_1
1 minute
Set by Google to distinguish users.
_gid
1 day
Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
CONSENT
2 years
YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Cookie
Duration
Description
IDE
1 year 24 days
Google DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
test_cookie
15 minutes
The test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE
5 months 27 days
A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSC
session
YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devices
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-id
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
Comments