This problem can be solved by preschool children in five to ten minutes, by programmers in an hour and by people with higher education…well, check it yourself.
A man gets off the bus looking for an address and approaches a couple walking in the same direction for directions. The woman says they’re going that way and take him. Along the way the man asks if they’re related. The woman grins and says, “We’re not strangers. This man’s mother is my mother’s mother-in-law.” The man is confused but doesn’t say anything. When he gets back home he tells his wife about the conversation and she can’t figure it out either. They decide to ask their lawyer and he eventually works it out with pen and paper. How are the couple related?
There are two tricks to this one. The first is 1 × 0. But it’s mostly there as a distraction. Yes, 1 × 0 is 0, but that doesn’t affect anything else in the equation. The second, far trickier element is that the lines ending with 1 don’t have a + sign next to them. That means they should be combined with the following line.