Original image

Can You Solve the Passcode Riddle?

Original image

Here's a nice riddle. Three members of a team have been captured. On their way into the prison (guarded by ravenous mutant salamanders), they pass a series of numbered doorways, each with a keypad featuring the numbers one through nine. Each keypad opens with a code...but you have no idea what that code might be. One member will be allowed to try to escape by facing a challenge. Can the remaining two listen in on that challenge, figure out the correct hallway, and figure out the passcode to open it? With some basic math, they can succeed.

Some more details: Zara, the team member participating in the challenge, has a one-way audio transmitter that allows the other two team members to listen. As Zara is led to the challenge through one of the hallways, she is informed that her challenge is to guess the passcode for her hallway based on rules. Zara is told that the passcode will contain three positive whole numbers, in ascending order (like 1, 2, 3—the second number is greater than or equal to the first, the third likewise to the second).

Zara is told that she may ask up for up to three clues about the code—but she can't say anything else, or else she too will be fed to the mutant salamanders! Through this process of requesting clues and thinking through the problem, Zara implicitly passes information to her compatriots about what the answer is.

Zara asks for the first clue, and is told that the product of the three numbers in the code (x * y * z) is 36. Zara asks for the second clue, and is told that the sum of the numbers in the code (x + y + z) is the same as the number of the hallway she entered. There is a long silence. Then she asks for the third clue, and is told that the largest (greatest) number appears only once in the combination. Shortly after, Zara punches in the code and escapes.

Given that information, can you figure out the passcode? The video below walks through the puzzle and its solution. Here's the text of the puzzle in its simplest form, transcribed from the video (it helpfully asks you to pause before explaining the solution!):

Find three numbers in ascending order!

1. The product of the three numbers is 36.

2. The sum of the three numbers is the same as Zara's hallway number, which you don't know but she does.

3. The largest number must be unique.

4. Zara, a perfect logician, needed clues 1-3 to escape.

Start your figuring!

Then tune in to the video to test your solution:

For a bit more on this puzzle, check out this TED-Ed page, especially the "Dig Deeper" section which contains links to various math resources that you may find useful. (It also includes a link to a puzzle variant that may be interesting after you solve this one.)

Can You Figure Out How Many Triangles Are in This Picture?

Time for another brain teaser. How many triangles do you see here? A Quora user posted the image above (which we spotted on MSN) for fellow brainiacs to chew on. See if you can figure it out. We’ll wait.


So, as you can see, all the smaller triangles can combine to become bigger triangles, which is where the trick lies. If you count up every different triangle formed by the lines, you should get 24. (Don’t forget the big triangle!)

Some pedantic Quora users thought it through and realized there are even more triangles, if you really want to go there. There’s a triangle formed by the “A” in the signature in the right-hand corner, and if we’re counting the concept of triangles, the word “triangle” counts, too.

As math expert Martin Silvertant writes on Quora, “A triangle is a mathematical idea rather than something real; physical triangles are by definition not geometrically perfect, but approximations of triangles. In other words, both the pictorial triangles and the words referring to triangles are referents to the concept of a triangle.” So yes, you could technically count the word “triangle.”  (Silvertant also includes a useful graphic explaining how to find all the pictorial triangles.)

Check out the whole Quora discussion for in-depth explainers from users about their methods of figuring it out.

[h/t MSN]

Original image
This Puzzling Math Brain Teaser Has a Simple Solution
Original image

Fans of number-based brainteasers might find themselves pleasantly stumped by the following question, posed by TED-Ed’s Alex Gendler: Which sequence of integers comes next?

1, 11, 21, 1211, 111221, ?

Mathematicians may recognize this pattern as a specific type of number sequence—called a “look-and-say sequence"—that yields a distinct pattern. As for those who aren't number enthusiasts, they should try reading the numbers they see aloud (so that 1 becomes "one one," 11 is "two ones," 21 is "one two, one one,” and so on) to figure the answer.

Still can’t crack the code? Learn the surprisingly simple secret to solving the sequence by watching the video below.


More from mental floss studios