Welcome to The Riddler. Every week, I offer up problems related to the things we hold dear around here: math, logic and probability. Two puzzles are presented each week: the Riddler Express for those of you who want something bite-size and the Riddler Classic for those of you in the slow-puzzle movement. Submit a correct answer for either, and you may get a shoutout in next weeks column. If you need a hint or have a favorite puzzle collecting dust in your attic, find me on Twitter.
From Nick Harper comes a question of tempered temperatures:
On a warm, sunny day, Nick glanced at a thermometer, and noticed something quite interesting. When he toggled between the Fahrenheit and Celsius scales, the digits of the temperature when rounded to the nearest degree had switched. For example, this works for a temperature of 61 degrees Fahrenheit, which corresponds to a temperature of 16 degrees Celsius.
However, the temperature that day was not 61 degrees Fahrenheit. What was the temperature?
Submit your answer
From Abijith Krishnan comes a game of coin flipping madness:
You have two fair coins, labeled A and B. When you flip coin A, you get 1 point if it comes up heads, but you lose 1 point if it comes up tails. Coin B is worth twice as much when you flip coin B, you get 2 points if it comes up heads, but you lose 2 points if it comes up tails.
To play the game, you make a total of 100 flips. For each flip, you can choose either coin, and you know the outcomes of all the previous flips. In order to win, you must finish with a positive total score. In your eyes, finishing with 2 points is just as good as finishing with 200 points any positive score is a win. (By the same token, finishing with 0 or 2 points is just as bad as finishing with 200 points.)
If you optimize your strategy, what percentage of games will you win? (Remember, one game consists of 100 coin flips.)
Extra credit: What if coin A isnt fair (but coin B is still fair)? That is, if coin A comes up heads with probability p and you optimize your strategy, what percentage of games will you win?
Submit your answer
Congratulations to Steve Schaefer of Carlsbad, California, winner of last weeks Riddler Express.
Last week, you undertook an urban planning challenge in Riddler City, which was a large, circular metropolis, with countless square city blocks that each had a side length of 1 km. At the very center of the city was Riddler City Hall, whose many employees all walked to and from work, and their homes were evenly scattered across the city. The sidewalks they walked along had always been adjacent to the streets.
But recently, several employees requested that the sidewalks instead cut diagonally across the city blocks, connecting nearby street intersections. These were represented by the thicker blue lines in the diagram below, which showed a small section (some readers missed this!) of the city:
What fraction of City Hall employees would have had a shorter walk home (that is, to the street intersection nearest to their home) if the city replaced its traditional sidewalks with these diagonal sidewalks?
First off, many readers pointed out that for employees whose front doors were on a street and halfway down a block, these new sidewalks wouldnt even get them to their front door. Indeed, last weeks puzzle was ambiguous about exactly how an employee would enter their home once they had reached their block. Because it was stated that Riddler City was very, very large, you could safely assume that virtually all of each employees commute was spent just trying to reach their block. Theyd then get into their home some way or another.
Okay, back to the problem. Most solvers used a coordinate grid in thinking about their answer, where City Hall was located at the point (0, 0), and an employees home (i.e., the intersection nearest their home) was located at (x, y). Here, x represented how many blocks east of City Hall their home was located, and y represented the number of blocks north of City Hall. So if x was negative, then the employee lived west of City Hall; if y was negative, the employee lived south of City Hall.
Under the original system of sidewalks, the employee would have had to walk a total of |x| blocks east or west, and a total of |y| blocks north or south. (We took the absolute values of x and y so that the number of blocks walked would be positive you cant walk a negative number of blocks!)
But what about when the sidewalks were diagonal, as the puzzle stated? It helps to look at a specific point close to City Hall, like (5, 3), as illustrated in the diagram below.
There are several ways to travel from City Hall to the home at (5, 3) using the diagonal sidewalks, and one such way is shown in red. First, youd walk northeast to the point (4, 4), a distance of 42, and from there youd walk an additional 2 southeast to reach the point (5, 3). In general, to reach the point (x, y), the employee would have to walk a distance of |x+y|/2 northeast (or southwest), and then a distance |xy|/2 southeast (or northwest).
So when was this new commute shorter than the original? As solver Kimberly Powell noted, the original sidewalks resulted in shorter commutes for homes closer to the x and y axes, while the diagonal sidewalks resulted in shorter commutes to homes closer the lines y = x and y = x that is, along lines that made 45 degree angles with the axes.
With a little trigonometry, solver Mike Strong found that Riddler City was precisely carved in half. That is to say, half the employees would have a shorter commute with the new sidewalks.
If youre still not convinced, heres an animation showing the original and diagonal sidewalk paths to each block. When its a shorter walk via the original sidewalks, the intersection is shown as a gray dot; when its faster via diagonal sidewalks, the intersection is a blue dot. Sure enough, the diagonal sidewalks resulted in a shorter commute for half the blocks.
So when it came to diagonal sidewalks, the employees were evenly split. No wonder the measure didnt pass.
Congratulations to Mark Jackson of Rochester, New York, winner of last weeks Riddler Classic.
Moving beyond diagonal sidewalks, you were next asked to consider octagonal sidewalks (similar to those found in Barcelona), as shown in the diagram below.
If the city replaced its traditional sidewalks with these octagonal sidewalks, now what fraction of employees had a shorter walk home?
Once again, many readers pointed out that some front doors might be inaccessible via these new sidewalks, or even that entire homes might have been bulldozed to make way for these rhomboidal intersections! And once again, these concerns could be treated as negligible due to the vastness of Riddler City.
To solve this puzzle, it was helpful to have a bathroom floor with octagonal tiles.
If you didnt have one of those, it was also helpful to start with a diagram of an employee who just happened to live very close to City Hall, which we said could be represented by the point (0, 0). For example, consider an employee who lived near the intersection (5, 3):
The red path represents this employees shortest path home. How long is it? Well, they started at (0, 0) in the lower left corner and first walked up toward (3, 3), represented by the black point. During this part of the trip, walking along the diagonal sidewalks shaved off some distance compared to the original sidewalks. For homes like this, where x and y were positive and x > y, the distance saved turned out to be 2yd(21), where d was the length of the short diagonal segments on each block.
Upon reaching (3, 3), the path straightened out, heading due east toward home. But not exactly due east, thanks to the diagonal sidewalks at the intersections. During this part of the trip, the diagonals added some distance, since it would have been a straight line to home with the original sidewalks. Again, for homes where x and y were positive and x > y, the additional distance turns out to be (xy)d(22).
Thus, the problem became a balancing act: When did the distance saved exceed the distance gained? When this happened, an employee would prefer the octagonal sidewalks; otherwise, theyd prefer the original grid.
Combining these shortening and lengthening effects meant the octagonal sidewalks wouldnt affect the commute when 2yd(21) the reduction in distance equaled (xy)d(22) the additional distance. After rearranging some equations (amazingly, the length of the diagonal segments of the sidewalk didnt matter), these effects canceled out when y = (21)x. Employees who lived above this line, and closer to the line y = x, preferred the octagonal sidewalks, while employees who lived below this line, and closer to the x intercept, preferred the original sidewalks.
But that was just for the case when x and y were both positive, and x > y that is, below the line y = x. Similar results could be worked out for all the other cases (in all four quadrants). And for those of you who worked through the trigonometry of last weeks Riddler Express, you might have noticed that the Riddler Classic gave you the exact same result! That is, in the case of a very, very large Riddler City (as stated in the puzzle), half of the employees preferred octagonal sidewalks, while the other half preferred to keep the original sidewalks. This symmetry did not go unnoticed by Riddler Nation.
After all this analysis, it would appear that Riddler City is stuck in gridlock when it comes to sidewalk legislation.
Well, arent you lucky? Theres a whole book full of the best puzzles from this column and some never-before-seen head-scratchers. Its called The Riddler, and its in stores now!
Email Zach Wissner-Gross at email@example.com.
See the article here:
Can You Flip Your Way To Victory? - FiveThirtyEight
- 16 Aesthetically Pleasing Puzzles and Games to Play at Home - The New York Times - March 30th, 2020
- THE TICKER: What now for the Tokyo Games? Says IOC chief Bach, This is like a huge jigsaw puzzle - The Sports Examiner - March 30th, 2020
- Chess: an expert took an hour to solve this simple puzzle can you do better? - Financial Times - March 30th, 2020
- 10 Online Games You'll Get Totally Lost in (in a Good Way) - POPSUGAR - March 29th, 2020
- With games on hold, PawSox adjusting to a strange new normal in final season before move to Worcester - thegardnernews.com - March 29th, 2020
- The Best Cheap PC Games You Can Buy On Steam Right Now - GameSpot - March 29th, 2020
- PuzzleScript: The free puzzle-building tool that lets you make games in minutes - BingePost - March 28th, 2020
- Here's what people are doing to pass the time during coronavirus isolation - ABC News - March 28th, 2020
- Solve Mesmerizing Puzzles In VR With FORM - GameTyrant - March 28th, 2020
- If you're in the mood for a mobile puzzle game, Monument Valley 2 is free - Destructoid - March 28th, 2020
- Who Should Be Inducted Into The 2020 Video Game Hall Of Fame? - 98.5 The Sports Hub - March 27th, 2020
- COVID-19: Top 5 infotainment iOS apps to keep your kids happy and learn skills during the lockdown - Deccan Herald - March 27th, 2020
- Banana Panda games and puzzles are fun, educational toys for toddlers that encourage cognitive development my 19-month-old loves them - INSIDER - March 26th, 2020
- The Room VR: A Dark Matter is the best VR escape room game - CNET - March 26th, 2020
- Blockade Games Adds Puzzle and Game Development Services to Its Offerings - SludgeFeed - March 26th, 2020
- The 26 best Nintendo Switch games to play through the quarantine - For The Win - March 26th, 2020
- New Nintendo Direct Mini Highlights a Wide Variety of Games Coming to Nintendo Switch This Year - Yahoo Finance - March 26th, 2020
- Rachel Lowe to develop new puzzles, board games and card games for Beano - Toy News - March 26th, 2020
- Galway have all the pieces to solve All-Ireland puzzle - Farrell - Independent.ie - March 26th, 2020
- 20 best games to play if you are self-isolating during the coronavirus outbreak | London Evening Standard - Evening Standard - March 26th, 2020
- Newsdio: Oleg Nesterenko's blog - Beidi Guo, developer of LUNA The Shadow Dust, on how story and environmental narrative increase repeatability in... - March 26th, 2020
- Spyder is a game about a spider that's a spy. And it's on Apple Arcade now. - iMore - March 26th, 2020
- Deciding to Postpone the Olympics Was Tough. Actually Moving Them May Be Tougher. - The New York Times - March 26th, 2020
- The 21 best PC games on Xbox Game Pass for PC right now (March 2020) - For The Win - March 26th, 2020
- The Bucs keep the band together on defense - Tampa Bay Times - March 25th, 2020
- We got 5 game devs to explain why Animal Crossing is so damn good - The Next Web - March 25th, 2020
- Bit of Land in the Seine - The New York Times - March 25th, 2020
- How to solve the Button Puzzle in the Quarantine Zone in Half-Life: Alyx - Gamepur - March 25th, 2020
- Heal is a story-driven puzzle game for iOS and Android that aims to cover heavy topics such as dementia - Pocket Gamer - March 25th, 2020
- What's Still on Ravens To-Do List Now that the defensive line has been addressed, the - BaltimoreRavens.com - March 25th, 2020
- Did you solve it? Meet the puzzle king - The Guardian - March 24th, 2020
- Creative Video Games to Play While Quarantined - Hyperallergic - March 24th, 2020
- People are curbing their stay-at-home anxiety the analog way: With puzzles - CNN - March 24th, 2020
- Puzzles and Kids Toys Flying Off Shelves Amid Coronavirus Pandemic - TMZ - March 24th, 2020
- Doom Eternal: Tips and tricks to survive the whole game - VentureBeat - March 24th, 2020
- Its a Perfect Time to Play Video Games. And You Shouldnt Feel Bad About It. - The New York Times - March 23rd, 2020
- Can you solve it? Meet the puzzle king - The Guardian - March 23rd, 2020
- Release Radar: Our pick of the week's best TV, movies, and games (March 23 - 29) - GamesRadar+ - March 23rd, 2020
- The Revolution In Educational Gaming Will Not Be Recognizable - Forbes - March 23rd, 2020
- Games of the week Ori and the Will of the Wisps, Murder By Numbers, Crossy Road Castle and Butter Royale - Inverness Courier - March 23rd, 2020
- Philly-based puzzle company offers a visually stunning antidote to the coronavirus craziness - The Philadelphia Citizen - March 23rd, 2020
- PC's Leslie Huffman named LKC player of the year | News, Sports, Jobs - Marietta Times - March 23rd, 2020
- Title win the last piece of the puzzle for stoked Cats - The West Australian - March 22nd, 2020
- Tired of the coronavirus lockdown? Here are five games to pass the time - Deccan Herald - March 21st, 2020
- Commanding the Situation - The New York Times - March 21st, 2020
- One Of The Best Switch Games Is Discounted On The Eshop - GameSpot - March 21st, 2020
- UK turns to board games, puzzles, and crafting as suppliers and toy shops prepare families for school closures - Toy News - March 21st, 2020
- From Proust to puzzles: The coronavirus is shifting the focus of France's star rabbi - JTA News - March 21st, 2020
- Stuck at home? 10 activities for families to try to keep busy while out of school - Austin Daily Herald - Austin Herald - March 21st, 2020
- UNTITLED GOOSE GAME SNEAKS AWAY WITH THE WIN FOR GAME OF THE YEAR AT THE 20th ANNUAL GAME DEVELOPERS CHOICE AWARDS - Associated Press - March 20th, 2020
- Your turn to find some fun with the family - The Spokesman-Review - March 20th, 2020
- How you can help local businesses while still practicing social distancing during the coronavirus outbreak - OregonLive - March 20th, 2020
- Lilith Games Brings the Puzzle-Filled Fun of Mr. Pumpkin 2 to Mobile This April - GamingLyfe Network - March 19th, 2020
- This 1000-Piece Puzzle Will Help You Rediscover Classic Childhood Toys and Games - HouseBeautiful.com - March 19th, 2020
- Thinking Inside the Box by Adrienne Raphel review adventures with crosswords - The Guardian - March 19th, 2020
- UNTITLED GOOSE GAME SNEAKS AWAY WITH THE WIN FOR GAME OF THE YEAR AT THE 20th ANNUAL GAME DEVELOPERS CHOICE AWARDS - GlobeNewswire - March 19th, 2020
- The Best Free Games to Try Out From the Steam Game Festival - Lifehacker - March 19th, 2020
- Dr Kawashima's Brain Training for Nintendo Switch review: entertaining and useful - but doesn't live up to the original game - Hartlepool Mail - March 19th, 2020
- 'When the Past Was Around' Tells a Heartbreaking Story Through Puzzles - Indie Games Plus - March 19th, 2020
- Being on lockdown isnt all fun and games but families need fun and these games help - fox4kc.com - March 19th, 2020
- Bored at home? Tabletop games help ease the self-isolation blahs - Madison.com - March 19th, 2020
- The 19 best video games to play during coronavirus isolation - PennLive - March 18th, 2020
- The Biggest Puzzle This Escape Room Company Must Solve? How to Grow the Right Way - Inc. - March 18th, 2020
- Chess: controversial world Candidates starts in Ekaterinburg but will it finish? - Financial Times - March 18th, 2020
- The 9 best two-player board games - Vox.com - March 18th, 2020
- Coronavirus: i paper will include a four-page games and crosswords pull-out, plus how to get it delivered - inews - March 18th, 2020
- Being on lockdown isn't all fun and games. But families need fun - and these games help - KTVZ - March 18th, 2020
- 6 Fun Indoor Activities to Beat the Extreme Cold in Ontario - Net Newsledger - March 18th, 2020
- How rookies Adam Fox and Ryan Lindgren became the top 'D' pair for NY Rangers - The Journal News | LoHud.com - March 18th, 2020
- Futsal Super League: The exciting second round returns with three Matchday 6 games - Kawowo Sports - March 18th, 2020
- Atlanta institution offers 'variety' of indoor activities - FOX 5 Atlanta - March 18th, 2020
- Supercell soft-launches match-and-solve puzzle game with meta similar to that of Wildscapes - Game World Observer - March 17th, 2020
- 24 Jigsaws and Puzzle Games For Kids to Work on While Home From School - POPSUGAR - March 17th, 2020
- Bust stuck-at-home boredom with these Target game and puzzle deals - Real Homes - March 17th, 2020
- Heres Looking at You, Grid: A History of Crosswords and Their Fans - The New York Times - March 17th, 2020
- Five new Steam games you probably missed (March 16, 2020) - PC Gamer - March 17th, 2020
- Fun and educational games, activities to save your sanity during coronavirus school break - cleveland.com - March 17th, 2020
- The creator of Dicey Dungeons and VVVVVV is giving thousands of copies of his games away for free - PC Gamer - March 17th, 2020
- The Gamification Of Cybersecurity Training - Forbes - March 17th, 2020
- Games Inbox: Are you impressed by the Xbox Series X? - Metro.co.uk - March 17th, 2020