Questions tagged [puzzle]

Tag for questions meant as a puzzle for the Mathematica.stackexchange.com public or about solving puzzles using Mathematica.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Find the shaded part area? [migrated]

Two squares of side 5 and 2 respectively. They are touching each other. Diagonals of the square are joined. find the area of the shaded part?
35
votes
3answers
5k views

How many triangles are there?

Some time ago I found a puzzle and it stopped my work until I solved it. One of the possible solutions: Let us sum upright and upside down triangles whose top lies in the $i$-th row. $$ N=\sum_{i=1}^...
4
votes
3answers
120 views

A sudoku-like collection puzzle

I have a puzzle. I'm given a collection of $n$ lists, all of equal (but arbitrary) length $l$. These lists are made up of 0s and a few filled in numbers, like so: { {0, 2}, {0,0}, {6, 0}, {0,0} } ...
6
votes
2answers
219 views

Solving puzzle with sum

My dad really likes to play this kind of puzzle. And I've tried to help you get the values to my level of knowledge. The puzzle looks like this: The rule is to use numbers from 1 to 9, but it is not ...
0
votes
0answers
59 views

Word search puzzles

I saw the entry Solving word search puzzles and I wonder if it is possible to: Search for words that exist not only in diagonals but that turn like a snake (left, right, up, down)? Search for all the ...
8
votes
3answers
1k views

Solving a cryptarithm

This problem appears on the mathematics stackexchange, which I summarize here as: 12 letters (a, b, c, d, e, f, g, h, k, l, m, n), are used to represent single digits, i.e., {0-9}. Given the ...
4
votes
1answer
301 views

Linear Integer Programming for solving Sudoku

I have generated sudoku solver using a recursive scheme, however, i wish to find a more mathematica like solution to solving sudoku. I tried using FindInstance but ...
25
votes
1answer
2k views

How to divide the wine into two equal portions?

There is a 8-liter bottle is full of wine. There are two empty bottles that have capacity 5-liters and 3-liters. How can these three bottles be used to separate the wine into two 4-liter portions? ...
1
vote
1answer
83 views

Jug pouring puzzle in Mathematica

Using two unmarked 5 and 3 gallon jugs, obtain exactly 1 gallons in one of these jugs by filling, pouring, and emptying operations. Assume there is an endless supply of water. My approach: I use the ...
0
votes
2answers
206 views

Puzzle 2: Sum-Till Forty (Something Funny)

I am learning Mathematica because I love it. I also love solving puzzles so I think it would be a nice way to learn Mathematica through puzzles. This is the second puzzle in a series I intend to solve....
16
votes
5answers
2k views

Puzzle — 20 People to consume 20 units of food under constraints

I am learning Mathematica because I love it. I also love solving puzzles so I think it would be a nice way to learn Mathematica through puzzles. This is first puzzle in series I intend to solve. So ...
18
votes
6answers
2k views

Puzzle with Mathematica

Hello everyone, This is a puzzle I got from someone via social media. Basically, we need to fill up the boxes with the numbers 1-9 (no repetitions) that fit the multiplication and addition operations. ...
6
votes
2answers
785 views

Crack it if you can? But in the best way

From the Wolfram Community posted by Helen: A little while ago I was asked to solve this "safe cracker" puzzle, a sweet example of a coffee table puzzle. The basic gist of this puzzle is that it ...
16
votes
4answers
887 views

Solving chess bishop problem

I have generalized the problem in this way where I have a list list=Tuples[Range[8],2] I want to find the largest sublist in which the addition of the two ...
11
votes
3answers
650 views

How do we solve N-Rooks variation using primes?

Using a $p_n $x $p_n$ matrix, how can we solve the N-Rooks problem to find a prime in every row and column? ...
14
votes
2answers
827 views

How to fill a grid make its total be largest

I have a blank grid whose dimension is 5*5. I want to fill it with some number using 1, 2, 3 and 4. But in every blank space if you fill 2, its neighbor (include four direction, such as left, right, ...
15
votes
3answers
742 views

Solving the magic backyard puzzle with MMA

I was trying to solve this puzzle using mma It looks like the generalization of the magic square. Anyway here my attempt:- There are four columns $(x,y,z,w)$ and nine rowa which are denoted by the ...
24
votes
4answers
8k views

Elegant solution to the Zebra [logic] Puzzle (“Einstein's Riddle”)

The famous Zebra Puzzle (Wikipedia), often called "Einstein's Riddle," is a logic puzzle that can be solved deductively by applying a list of logical rules. One version of the riddle (from Wikipedia) ...
2
votes
0answers
85 views

Where do the radicals end?

In an early iteration of this question on the Mathematics SE, the radicals weren't properly formatted, so they only had the √ symbol with no indication of which terms were supposed to be ...
3
votes
2answers
265 views

Solve the “Cheryl's birthday” puzzle using mathematica

The "Cheryl's birthday" puzzle has been circulating around, the backstory is available via wikipedia. The puzzle itself is reproduced here: Albert and Bernard just became friends with Cheryl, and ...
1
vote
0answers
124 views

Twilight Zelda Guardian Puzzle : Shortest Path Proof [closed]

I'm playing a video game right now and in it is a puzzle (see here). There are solutions to solving it (see here) on the Internet, but I'd like to know if this path is the shortest path (least amount ...
3
votes
4answers
510 views

Solving puzzles with Mathematica

I would like to be able to solve logic puzzles such as the one described here using Mathematica. I have copied & pasted the listed example below to save on jumping about with hyperlinks: The ...
38
votes
3answers
2k views

Tiling a square

I wondered if there was a way to automate the process of finding a way to tile a tile into a square. The idea is to represent the tile with a matrix of $0$s for blank space and $1$s for filled spaces ...
20
votes
4answers
3k views

How many Christmas gifts?

This question is based on the old song, The Twelve Days of Christmas In a comment made on a recent question, Yves Klett remarked, "no seasonal questions this year?" This reminded me of one I solved ...
52
votes
2answers
14k views

How can I calculate a jigsaw puzzle cut path?

I want to generate a path to cut an arbitrary shape into a set of jigsaw puzzle pieces. All pieces must be unique to preclude placing a piece in the wrong spot. Pieces must be interlocking such that ...
19
votes
4answers
2k views

Finding all dictionary words that can be made with a given set of characters (Wordfeud/Scrabble)

This is a slightly more involved variant of this recent question. By sheer coincidence I happened to have been building a Wordfeud (Scrabble clone) game in Mathematica. My interactive Wordfeud board ...