Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
32
29.2k
Most American crosswords use rotational (or "radial") symmetry so that squares directly opposite each other (through the center) are identical. In the Times, I've only seen this not be the case when the layout was directly linked to the theme. Is that one of the "rules" you can count on, or are there (modern, Will S...
I've seen Sudoku puzzles that can be solved two different ways. Referring to a traditional 9x9 grid: Is it possible for a Sudoku puzzle to have more than two solutions? If so, what is the maximum number of solutions a single Sudoku puzzle can have? For any given puzzle, is there a way to find out how many solutions it...
What is the maximum number of queens that can be placed on a standard 8x8 chessboard such that no one of them is capable of attacking any of the others in a single move?
I believe in a number of books I have read and solved myself, the introduction stated that guessing should never be necessary for any of the puzzles in the book. Instead, a handful of techniques could be used to solve the puzzle completely, including the hard puzzles. Are there published puzzles out there that do requ...
How can Sokoban puzzles be procedurally generated with a computer program, guaranteeing at least one solution? A simple algorithm might be: {n} times place a "target" square and a box on the square end until {puzzle is done (?)} move a character to a location next to the box, and "pull" it towards the character...
Names in Boxes The names of 100 prisoners are placed in 100 wooden boxes, one name to a box, and the boxes are lined up on a table in a room. One by one, the prisoners are led into the room; each may look in at most 50 boxes, but must leave the room exactly as he found it and is permitted no further communication wit...
I have seen many variations of the following puzzle: Once upon a time, a farmer went to the market and purchased a fox, a goose, and a bag of beans. On his way home, the farmer came to the bank of a river and rented a small boat. The boat was so small that the farmer could carry only himself and a single one of his ...
Sometimes, when solving the Void Rubik's Cube using the standard beginner method, it gets "stuck." What I mean by this is that the top edge of one face and the top edge of an adjacent face's colors are swapped. Typically, I've just turned random faces until the cube is sufficiently messed up and then started over. Howe...
For those of you familiar with the solution to the Rubik's cube, you will know that a single-corner twist is not a valid position. It can neither be attained by scrambling, nor can it be solved if it occurs. I understand that there's some fundamental group theory at work here; the corners on a Rubik's cube can only be ...
Given an 8x8 chessboard, your goal is to "cover" each space on the board with the fewest possible number of pieces. A space is "covered" if there is a piece on it, or if a piece on the board can be moved to that space in one move. A trivially easy solution would be that a board could be covered with 64 pieces. If you...
Quick summary of the Prisoner's Dilemma: Two criminals are charged with a crime. Each is given an opportunity by the police to confess. If they both stay silent, they don't have enough evidence to convict for much, and they both get 1 year in prison If they both confess, they have a lot more evidence and they both get...
You are in a room with three switches, labeled $A$, $B$, and $C$. Initially, each switch is in an off state. In an adjoining room, there are three incandescent light bulbs. Your task is to correctly label which switch goes to which bulb. The catch: you may only enter the bulb room once. You have as long as you ne...
What are the criteria for determining the difficulty of Sudoku puzzles? Is it a subjective estimation based on the author's experience, or are there any precise guidelines? For example, there are some sudokus, where in each step there's always at least one digit that, if you look on some line, must be exactly in that p...
I have been told that it is possible to guarantee no worse than a tie in normal 3x3 tic-tac-toe, but that the first move is very important. What is that important first move?
If an algo X outputs the minimum "number of moves" (not the actual moves, just their count) to solve an input configuration, what's the maximum number X can output for any configuration?
The basic algorithm for procedurally generating mazes goes something like this: Choose a random available direction from the current square. If there is one, go there and repeat from step 1. Otherwise, backtrack to the previous square and repeat from step 1. This is a fairly good algorithm, but the problem is that it...
I, being a fan of 2048, was wondering if anyone has any proven strategies for playing 2048?
You are in a room with two adjacent doors locked by four sliding bolts. The bolts are movable and block only one door at a time; however, you do not know which bolt currently is blocking which door. An example configuration: Luckily, there are three buttons A, B, C, which cause some bolts to slide from the door they a...
I can get to 4096 max. There are videos on youtube of guys making it to 8192. What is the theoretical maximum limit on this? PS: if you haven't played this, here is the link to addiction.
According to Wikipedia, Alphametics, also known as verbal arithmetic, can be defined as "a type of mathematical game consisting of a mathematical equation among unknown numbers, whose digits are represented by letters. The goal is to identify the value of each letter." For example, the problem: has the solution (mouse...
Once one has mastered winning 2048 in general, it's often an interesting exercise to try to do it as fast as possible. What strategies are there for speeding up 2048-solving? For example, how can you pass the boring beginning game quickly (ex. mashing up and left), and how do you know when to stop so you don't mess up...
In a crossword, some clues have a question mark at the end. Is there any way to tell what these question marks mean based on the puzzle? I.E. rhetorical, compound word, etc.?
When playing SlitherLink on moderate or large boards I usually find that after using the basic techniques: filling out the values in the corners setting lines where there are adjacent 3s setting lines where there are 3s diagonally (including cases where they are only separated by 2s) clearing everything around 0s and ...
The game 2048 can be thought as a two player game, where one player shifts the table around to get to the 2048 tile, while the other player tries to hinder them by putting down 2s and 4s on the table. While the original game will put down the tiles randomly there are variants, such as some where this is not random, and...
Growing up on the cryptic crosswords I found in Games magazine and The New York Times, I'm used to a very rigid rule for clues: Every clue comprises two parts, one of which directly (if opaquely) clues the word as in a non-cryptic crossword and the other of which does so cryptically. (These may be separated by "is" or ...
N logicians are wearing hats which can be of N different colors (each hat has one color; there can be multiple hats with the same color). Each logician can see the colors of all hats except his own. The logicians must simultaneously call out a color; they win if at least one logician calls the color of his own hat. The...
The MPire coloring game is a game where several "empires" are laid out touching each other. Your task is to color each empire a different color, and not let two of the same color touch. You also have to use as few colors as possible. I was wondering if anyone had specific strategies for this game? Is it better to start...
I understand the basic method of generating sudoku puzzles, which is: Put a random number in the current square. If the puzzle is still valid, go to the next square. Otherwise, stay on the same square. Repeat from step 1. However, sometimes a sudoku puzzle gets "stuck" so that no matter what you put in the square, it...
20 teams played in a round-robin tournament. The winner of each game got 1 point, and the loser got 0; there were no draws. Each team's total score was a square number. At least one team had a unique score. How many upsets were there, defined as times a team with a lower total score beat a team with a higher total s...
I learned how to solve a Rubik’s cube with the normal beginner method. Now I wanted to know how to get from this to speedcubing. Is speedcubing just executing the steps really fast? I don't think so. What are the fastest ways to solve the cube?
The Einstein's puzzle or zebra puzzle is a well-known logic puzzle. Are there any very easy ways to solve it fast?
Can you tell me what is the name of the game I used to play in school? It's a game for two players. You need grid paper and two pens. The game is played on a 10x10 arena, shifted by half a grid to one side. The players take turns, each drawing a one grid length line. One player plays "middles", the other plays "edges",...
How, as a writer of riddles, can I rate their difficulty? I guess, for me alone, knowing the answer even before the riddle existed, it's pretty much impossible, and I should need some external help. Are there some riddling communities or something like that, who could help rate the difficulty? How would I approach this...
I used to play Einstein's puzzles a lot when I was younger, and very quickly learned to assess quite rapidly whether I thought a puzzle would be a quick solve or more time-consuming, but I never worked out the detail on how many clues are required. Is there a mathematical description of the minimum number of clues requ...
Once I solve a Rubik's Cube I obviously want to start again. I just scramble it until it seems to be enough; however, sometimes when I then solve it, I can skip entire steps from the beginner's method. Is this normal or was the cube not scrambled enough? How can one determine if the cube is scrambled enough?
A River Crossing puzzle puts limits on the number of items that may cross a boundary, with limits on what may be left together. The "Fox, goose and bag of beans" is one of the earliest examples. Of course, by increasing the capacity of the boat, or the number/type of barriers, infinity is the upper limit. For this qu...
This is a follow-up question for the Sliding Bolt Puzzle. If you have not solved it yet, you might want to head there first, as the extended discussion of its solution in this question will contain spoilers. In the original version of the Sliding Bolt Puzzle, I asked for the fastest sequence in terms of the maximum n...
In a sudoku puzzle, what is the absolute minimum number of clues that must be given to specify a layout with a unique solution? Is one in each row, column, and box (9 total) necessary or sufficient?
One of the classical puzzles is pouring water into the 5 gallon jug so there is 4 gallons of water remaining. This was popularized by Bruce Willis in "Die Hard with a Vengeance". I was wondering however, if there was a possible way to complete the puzzle using a 3 gallon jug and a 7 gallon jug to still get the 4 gallon...
I'm asking about classic riddles as they appear in books and kids' literature, based on metaphors - not maths problems or tasks, or deceitful questions but just an old good-natured rhyme describing the subject in a way that makes it tricky to guess. Let me give some examples from J.R.R. Tolkien for what I mean: This t...
Here's an old puzzle I found in a book once. A box has some number of locks on it. It is guarded by a Grand Vizier and four slaves, each of which hold keys to the locks. The Grand Vizier and slaves each hold a different set of keys to the locks, and each key they hold opens a different lock. The keys they hold are in ...
A magic square (of order 3) is a 3x3 matrix consisting of distinct numbers from 1 to 9, where the numbers in each row, column and diagonal add up to 15. For example, the following would be a magic square: The problem is to construct a magic square that has the position of the number 8 fixed.
A group of N pirates has come by a chest containing 200 gold coins. Their rules require that the coins be distributed by the following approach. The pirates are ranked from fiercest to meekest and all pirates know the ranking. The fiercest must propose a division, which is put to majority vote with the fiercest voti...
When solving Sudoku on paper, I sometimes get to the point where I need to resort to guessing or bifurcation. At that point, I might guess one number, and continue solving, changing that guess if I arrive at a contradiction. I've experimented with a couple of approaches, e.g., circling the guess and writing the consequ...
In the Missionaries and Cannibals problem: Three missionaries and three cannibals must cross a river using a boat which can carry at most two people, under the constraint that, for both banks and the boat, if there are missionaries present on the bank (or the boat), they cannot be outnumbered by cannibals (if they wer...
In this question, I presented a puzzle involving seven locks, with a Grand Vizier and four slaves. But I would like to use this style of puzzle in some of my own secret-unlocking riddles, in order to require that a person solve a specific number of problems in order to proceed, without regard for what order they solve ...
What is a simple and efficient way of removing numbers from a full sudoku puzzle to create one with a single unique solution? I have already figured out how to generate sudoku grids, like this one: 5 6 7 2 3 8 1 4 9 4 8 9 7 6 1 3 5 2 2 3 1 9 5 4 6 8 7 1 7 5 6 8 9 2 3 4 8 4 3 1 2 5 9 7 6 9 2 6 3 4 7 5 1 8 3 9 4 8 ...
Leonhard Euler proved that it is impossible to solve this puzzle: The challenge is to take a walk around the area depicted, and cross each bridge (yellow) exactly once. Using topology, Euler proved that it is impossible to walk each bridge exactly once. Are there any similar challenges? I would like to try to solve a...
How can I solve 5-10 letter anagrams without a computer or electronics? I was playing the Word Scramble category in the game Quiz Up and found it complicated, only in some parts. At home, I used an anagram solver, but elsewhere my friends have aced me in this section. I searched on the internet and found this, but it ...
Here's another oldie from a book, slightly paraphrased to make it more quantitative. You're in a room with a ceiling exactly 100 feet high. Two thin but sturdy ropes are hanging from fixed hooks at the ceiling and just touch the ground, close enough that you can grab both of them at the same time comfortably. You can ...
It is known that the minimum number of clues a sudoku must have to have a unique solution is 17. But on every website I've seen for them, I haven't found any that are rotationally symmetrical. I once saw a puzzle in a book which only had 19 clues and was rotationally symmetrical, but I don't remember whether the solver...
It is known that there are a minimum of 17 clues needed to create a proper sudoku puzzle. For how many puzzles is 17 sufficient? From the history of the minimal proof, I gather that there are multiple puzzles for which 17 clues are enough for a unique solution. Is 17 enough to specify every proper sudoku puzzle? Just a...
If you use the Beginners' Method to solve the Rubik's cube, and solve the equator layer (the layer between the U-layer and D-layer), it can happen that one of the edges is flipped, like this: Screenshot generated using Cube Explorer A way to solve this is to replace the flipped edge by a random block and then put the ...
You have 2 identical ropes which burn at a specific rate, and an unlimited supply of matches. When you light one end of a rope, the fire will take exactly 1 hour to travel to the other end of the rope. You need to measure exactly 45 minutes. You must start by lighting one or both of the ropes. You can light or extingui...
Note: This is a follow-up question to Burning ropes as timers. The following question and its answers may contain spoilers. To sum up the puzzle, these are the rules (slightly modified): You have some number N of ropes, each with the following property. When you light one end of a rope, the fire will reach the other e...
Suppose you have a checkerboard with two opposite corner squares removed, like this: Can you move a pawn on the board only horizontally and vertically, one square at a time, and have it touch every square exactly once?
You are given twelve identical-looking balls and a two-sided scale. One of the balls is of a different weight, although you don't know whether it's lighter or heavier. How can you use just three weighings of the scale to determine not only what the different ball is, but also whether it's lighter or heavier?
Suppose you want to create a set of weights so that any object with an integer weight from 1 to 40 pounds can be balanced on a two-sided scale by placing a certain combination of these weights onto that scale. What is the fewest number of weights you need, and what are their weights?
I've tried to begin solving a cryptogram by making educated guesses from the context: position of punctuation, the presence of single-letter words, or assumptions about the frequency of the letter E, for a few examples. I often find 2-letter and 3-letter words in the puzzle and am looking for a more logical approach to...
The magic square is a well-known grid of the numbers from 1 to 9 in which every row, column, and diagonal adds up to 15: 4 9 2 3 5 7 8 1 6 But it is also possible to create magic squares using other numbers: 24 87 45 73 52 31 59 17 80 It's also known that given just a few filled-in squares, you can determine the rest...
I know that in ancient times puzzles and riddles were as popular—if not more popular—than they are now. (Let us define "ancient times" as any time predating the fall of the Roman Empire, around A.D. 470). Many of these puzzles survive to this day, e.g. the Sphinx Riddle ("What animal walks on four legs in the morning, ...
Is there a common/official name for visual puzzles that are based strictly on the observation skill - like the common "Where is Waldo" pictures, "find all faces", "count all X in the picture (or find a given number of them), "Spot a thief" and the likes - where the visual mess or tricky composition of the image obscure...
Red or Black There are 3 children sitting on three chairs. The children can only look forward and all wear one hat. The hats are either black or red. They are a total of 5 hats, 3 are colored red and 2 are colored black. The child on chair A says: "I don't know what color of the hat I have." Then the child on chair B s...
The following shape is has the proportions of a square attached to a similar square divided diagonally - A square and a half, if you may. The puzzle is to dissect the shape into 4 congruent pieces. Two figures or objects are congruent if they have the same shape and size, or if one has the same shape and size as the ...
A farmer is looking to hire some hired hands. His usual three hires are named Barry, Harry, and Larry. He knows from hiring them before that: Working together, Barry and Harry can plow an acre in two hours. Working together, Barry and Larry can plow an acre in three hours. Working together, Harry and Larry can plow an...
My friend once told me a logic puzzle along the lines of: A student asks a teacher what the ages of the teacher's three kids are. The teacher said, "the product of their ages is 72, and the sum of their ages is your [the student's] house number." The student thought about this for a while, then came back to the teache...
If the end of the world was supposed to come on the first day of a new century, what would be the chances that it would happen on a Sunday?
The Four color theorem states that no more than four colors are required for any map. Can it be proved or disproved that 3 colors can be used for United States map?
Oskar van Deventer's Gear Shift is a somewhat difficult puzzle to figure out how to solve. The puzzle looks like this: You can see a video of it here. What is a simple, intuitive method for solving this puzzle? I'm sure the optimal solution could be reached via matrix reduction, but I'm asking for something which is ...
I wonder how accurately I will have to work if I make a wooden burr puzzle out of square sticks as for example described in http://en.wikipedia.org/wiki/Burr_puzzle. Should the notches be exactly the width of the square sticks so that everything fits tight together or should I sand down the sticks a little or widen the...
I know there are several different standard methods to solve a Rubik's cube, some easier, some more straightforward. It is known that the minimum number of moves to guarantee a solution is 20. Which method comes closest to the theoretical minimum in fewest average moves from a randomized cube to a solution? What about...
A somewhat well-known puzzle is described as such: You have a pile of 3,000 bananas. You wish to transport them to a place 1,000 miles away on the back of a camel; however, the camel can only carry a maximum of 1,000 bananas, and will eat one banana every mile it travels (and will not go anywhere if it does not have a...
Of the following 5 strategies for getting started assembling a jigsaw puzzle: Assembling the border and connecting other pieces to it Working your way out from one corner Trying to assemble faces or other recognizable parts of the picture Picking a random piece and working your way out from it Finding random piece...
This is a problem I once found in a math textbook a tutor used with me. A group of explorers is trying to get from their base camp to another camp which is eight days' walk through the desert. However, each explorer can only carry five days' worth of supplies. How many explorers need to venture out to make sure that a...
The riddle Randall Munroe (of xkcd fame) has, a bit hidden on his site, a logic puzzle: A group of people with assorted eye colors live on an island. They are all perfect logicians -- if a conclusion can be logically deduced, they will do it instantly. No one knows the color of their eyes. Every night at midnigh...
Two perfect logicians, Summer and Proctor, are told that integers and have been chosen such that 1 < < and + < 100. Summer is given the value + and Proctor is given the value ⋅ . They then have the following conversation. Proctor: "I cannot determine the two numbers." Summer: "I knew that." Proctor: "Now...
This question is posted under the guidelines Don't worry too hard about restricting or regulating anything that isn't turning into a problem yet. If you don't agree that this question is on topic, please go to that meta thread and talk about why you feel that way!* Solve this Sudoku. Post how you did it in your answer....
Suppose you have a checkerboard with two opposite corner squares removed, like this: Is it possible to place 31 dominoes of size 2x1 so as to cover all of these squares?
I was just thinking about this. Let's say that we have a card deck with 54 cards and the $n$th card from the top is flipped. We repeat a short process of cutting the deck directly in the middle and then interleaving the cards from each pile (in other words, a perfect shuffle). For example, if the cards were numbered f...
The first time I encountered the Boy or Girl paradox I was struck by how ambiguous all of the formulations in English are. As Wikipedia notes: Gardner argued that a "failure to specify the randomizing procedure" could lead readers to interpret the question in two distinct ways: From all families with two children, at...
Many people are familiar with the story of Archimedes submerging a crown in water to identify if the volume of the crown was consistent with the volume of the same amount of gold. The test was to see if a lighter cheaper metal (like silver) was included in crown. If the crown maker substitutes silver for some of the ...
Or phrased differently, are non-symmetrical Sudoku puzzles considered legal?
The Magic Hexagon Problem A magic hexagon of order $n$ is an arrangement of close-packed hexagons containing the numbers $1, 2, ..., H_{n-1}$, where $H_n$ is the $n^{th}$ hex number such that the numbers along each straight line add up to the same sum. (Here, the hex numbers are i.e., $1, 7, 19, 37, 61, 91, 127$, ......
Here's a third puzzle that I found in a book, slightly paraphrased because I don't entirely remember the format of the original. A medical researcher is trying to test the effect of a certain drug on mice. He is supposed to collect data for all doses from 1 to 50 units, but only has the data collection resources for 2...
Here's a neat little puzzle taken from a Google interview question: 10 humans are abducted by aliens; each represents 10% of the entire human population. The aliens give each abductee either a purple hat or a green hat. The 10 are lined up in a single file line, each facing forward, such that the last person can see t...
The question of twelve balls and a scale is probably the best-known example of the "find the ball of a different weight" problem. But does it generalize? Is there a general way to find a weighing algorithm for $N$ balls on a scale where $N \ne 12$? This is the variant where the direction of deviation is not known (one ...
This problem is commonly cited as a Microsoft interview problem, although I have paraphrased it here to involve a river and a boat instead of a bridge and a flashlight, and tweaked the crossing times a little bit. There are four people standing on one side of a river, and they need to cross it as quickly as possible t...
There are three cowboys in a Mexican standoff against each other, named Juan, José, and Jorge. Juan is the straightest shooter in the West, and can hit his target 100% of the time. José, who has a cataract and can't see clearly, can hit his target 70% of the time. Jorge, who has no aim but is very clever, can hit his ...
The puzzle below features each week in a TV guide. It's called "Number Workout" there but I've done a bit of research and it seems to be called "Hexanum" elsewhere. It bears some resemblance to Sudoku, in that it's a logic puzzle with a single solution. Transcription: "Fit the numbers 1-6 once in every hexagon so that...
Three world powers have just entered a nuclear war! They have been waiting for this day for decades; everyone has their nuclear missiles ready to fire, and only need to choose a target. The Chinese missiles hit their target 30% of the time. The American missiles hit their target 60% of the time. The German missiles h...
NOTE: This is in reference to an existing question which I feel is poor and off-topic. In the spirit of "shaping the site while in private beta", I wanted show how the question can be re-phrased and "fixed" in order to be more on-topic here. There is a specific Sudoku puzzle presented by the mathematician who discove...
It is possible to have a proper Sudoku with one empty block (consisting of 3x3 cells). The trivial (and very boring) example would be a puzzle where all other cells are given. It's impossible to have a proper Sudoku with an empty chute (a band of 3 blocks), since units within the chute that are aligned with it, could b...
This is an interesting puzzle which was passed to me by a friend some time ago. I do know the answer, but will refrain from self-answering on this to see where it goes. I'm thinking of a number: 1, 2, or 3. You may ask me one question, which I will answer to the best of my ability. I may not, however, tell you my numbe...
If I wanted to solve a physical Rubik's cube multiple times, for practice, what is the best, most random way, to scramble the solved cube? The best way I can think is to hold it behind my back and turn randomly until, when I look at it, it looks random enough. Is there a better way?
In single-solution regular Sudoku puzzles, sometimes you may encounter a combination of possible cell solutions such as: {2,7} in A1 and A7 (same row) {2,7} in A7 and B8 (same box) {2,7} in B8 and E8 (same column) {2,3,5,7} in E1 (same column as A1 and same row as E8) I call patterns like the one above conjugate-pair...
Assuming the game is played without cheating, in the three-card monte, can a logical approach increase the player's chance of beating the house? At first glance it would seem to be unlikely but a recent article in the BBC news indicates that in the somewhat similar two person game rock-paper-scissors, knowledge and app...
Logic puzzles with a set of conditions and a "logic grid" are very popular. More than one publisher is currently producing puzzle books with these types of puzzles. A Wikipedia article claims Charles Lutwidge Dodgson, (Lewis Carroll, author of Alice's Adventures in Wonderland.) was the instigator of what later became...
Single player games using a single deck of playing cards often called patience or solitaire, generally involve a degree of skill and luck to solve, with card shuffling ultimately being the deciding factor on if the game can be solved/won. Is there any version of the game with a single player and a standard 52 card poke...
The puzzle grid pictured below is a prime example of the classic rush to judgment: I was so sure of my decision, but when I double-clicked to clear more cells, the cell to the left of the one I had just flagged (the red one next to the X) was the mine, and the game ended. I see that apparently I wasn't paying close en...
I always start a Minesweeper puzzle in Windows by clicking the cell in the lower left corner. Even though I have never seen a bomb there, how sound is this strategy? Is it possible that some time in the future there will be a bomb there? Or is it possible to click anywhere the first time?
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
79