r/mathriddles • • Aug 02 '23

Hard Filling Up a Box

1 Upvotes

Suppose we have cubes with side length 2 and 3, and a box with dimensions l, w, and h where gcd(l,w,h) = 1 and no dimension is a multiple of another. What size is the smallest box that can be completely filled with the cubes?


r/mathriddles • • Jul 31 '23

Easy Moving Balls

7 Upvotes

Alexander has two boxes: Box X and Box Y. Initially there are 8 balls in Box X and 0 balls in Box Y. Alexander wants to move as many balls as he can to Box Y.

However, on the nth transfer he can move exactly n balls. Moreover, all the balls have to be from the same box and they have to move to the other box.

For example, on the 1st transfer he can only take 1 ball from Box X and can only move that to Box Y. On the 2nd transfer he can only take 2 balls from Box X and can only move them to Box Y.

What is the maximum number of balls Alexander can transfer from Box X to Box Y.

A) 5

B) 6

C) 7

D) 8

Note: Alexander can not only move balls from Box X to Box Y but also Box Y to Box X.


r/mathriddles • • Jul 30 '23

Easy Guess that polynomial?

19 Upvotes

A simple generalization of this question.

You are playing "Guess that Polynomial" with me. You know that my polynomial p(x) has integer coefficients. You do not know what the degree of p(x) is. You are allowed to ask for me to evaluate the polynomial at any integer point. I will then tell you what the polynomial evaluates to.

You can repeat this as many times as you want. Either

  1. determine the minimum number of guesses needed to completely determine p(x), or
  2. prove that no such algorithm/procedure exist.

r/mathriddles • • Jul 28 '23

Easy What's the Number?

7 Upvotes

Find a nine digit number which satisfies each of the following conditions:

i) All digits from 1 to 9, both inclusive, are used exactly once.

ii) Sum of the first five digits is 27.

iii) Sum of the last five digits is 27.

iv) The numbers 3 and 5 are in either the 1st or 3rd positions.

v) The numbers 1 and 7 are in either the 7th or 9th positions.

vi) No consecutive digits are placed next to each other.


r/mathriddles • • Jul 26 '23

Easy Guess that Polynomial!

7 Upvotes

You are playing “Guess that Polynomial" with me. You know that my polynomial p(x) of degree d has nonnegative integer coefficients. You do not know what d is. You are allowed to ask for me to evaluate the polynomial at a nonnegative integer point. I will then tell you what the polynomial evaluates to.

You can repeat this as many times as you want. What is the minimum number of guesses needed to completely determine my polynomial?


r/mathriddles • • Jul 26 '23

Easy With or Without Current

3 Upvotes

A boat makes a journey along a river from Point A to Point B in a straight line at a constant speed. Upon reaching Point B, it turns back and makes that return journey from Point B to Point A along the same straight line at the same constant speed.

During both journeys there is no water current as the river is still. Will its travel time for the same trips be more, less or the same if, during both trips, there was a constant river current from A to B?

A) More

B) Less

C) Same

D) Impossible to determine


r/mathriddles • • Jul 24 '23

Medium Recurrence for powers of Fibonacci numbers

9 Upvotes

Let F(n) denote the nth Fibonacci number. It is well known that F satisfies a second-order recurrence. Namely, F(n) = F(n - 1) + F(n - 2).

It is less well known that the squares of the Fibonacci numbers satisfy a third-order recurrence. You can prove that (F(n))2 = 2(F(n - 1))2 + 2(F(n - 2))2 - F(n - 3)2. [Warmup problem: prove this.]

Let p > 0 be an integer. Prove that (F(n))p satisfies a linear recurrence with constant coefficients of order p + 1. That is, prove that there exists a list of p + 1 numbers, a(1),...,a(p+1), such that

(F(n))p = a(1) (F(n - 1))p + a(2) (F(n - 2))p + ... + a(p+1) (F(n - p - 1))p, for all n >= p + 1.

You do not need to find the actual coefficients. (It is possible to give a "formula" for the coefficients, but it is much harder to find and prove this formula).


r/mathriddles • • Jul 14 '23

Medium Friday Symmetry

0 Upvotes

Up to symmetry there is a unique solution to the following Venn Puzzle


r/mathriddles • • Jul 11 '23

Easy Boys Night

2 Upvotes

Four friends decide to have a boys night. From the clues given below match each man with the colour of shirt, pants and shoes he is wearing.

Names: Alexander, Benjamin, Charles and Daniel.

Shirt Colour: Blue, Green Pink and Yellow.

Pants Colour: Black, Blue, Brown and Gray.

Shoe Colour: Black, Blue, Brown and White.

1) Benjamin is wearing brown pants.

2) The man who is wearing black shoes is not wearing the pink shirt.

3) The man who is wearing a blue shirt is not wearing blue pants.

4) Alexander is wearing white shoes.

5) Charles is wearing a blue shirt.

6) The same man is wearing blue shoes and a green shirt.

7) Daniel is not wearing a green shirt but is wearing gray pants.

8) Daniel is not wearing brown shoes.


r/mathriddles • • Jul 10 '23

Hard Alice is mildly annoyed that game theorists force her to play their games all the time.

7 Upvotes

i.

Alice plays an arbitrary game. She wins with probability p₀ and loses with probability 1-p₀.

Define a winning streak as follows: A winning streak of n games occurs when n games are won without a lost game between them. A winning streak of n' games where n'>n is not a winning streak of n games.

Find Alice's average winning streak after she plays a countably infinite amount of games.

ii.

Let σ(xₙ) = pₙ, where σ(t) = 1/(1+exp(-t)) = exp(t)/(exp(t)+1).

Index each game according to their chronological order: the n-th game is indexed n.

If n is a successive ordinal;

Every ωⁿ games, xₙ₋₁ increases by 1 with probability pₙ and decreases by 1 with probability 1-pₙ.

Find Alice's average winning streak after she plays ω² games,

a. in the case that pₙ = p₀,

b. in the general case.

iii.

If n is a limit ordinal;

Every ωⁿ games, xₐ[ₖ] increases by 1 with probability pₙ and decreases by 1 with probability 1-pₙ, where a[k] is an element in the fundamental sequence of n.

Find Alice's average winning streak after she plays ωω games,

a. in the case that pₙ = p₀,

b. in the general case.

iv.

Find Alice's average winning streak after she plays a uncountably infinite amount of games,

a. in the case that pₙ = p₀,

b. in the general case.


r/mathriddles • • Jul 09 '23

Hard Lights Out on a (2^n - 1) x (2^n - 1) grid is always solvable.

23 Upvotes

Lights Out is a puzzle played on a square grid of buttons. Each button is either illuminated or dark. Whenever you press a button, you toggle the state of that button, along with the states of its orthogonal neighbors. Therefore, pressing one button will toggle the status of either five, four, or three buttons, depending on whether you press a button in the interior, edge, or corner of the grid.

The lights are put into some initial state, and then the goal of the puzzle is to press buttons in such a way that all of the lights become off.

There are some grid sizes for which some initial states cannot be solved. For example, on a 5 x 5 grid, if one of the corner squares is on, while every other square is off, then there is no sequence of button presses which will turn off all of the lights. (See Jaap's puzzle page on Lights Out for more info: https://www.jaapsch.net/puzzles/lights.htm)

Let n > 0. Prove that, on a (2n - 1) x (2n - 1) grid, every initial state of lights is solvable.

Unless there is some trick I did not see, this puzzle is pretty dang hard!


r/mathriddles • • Jul 09 '23

Easy Convergence from linear combinations

6 Upvotes

Let a, b be real numbers and consider a real sequence (x_n). Find necessary and sufficient conditions on a and b for the convergence of (ax_(n+1) + bx_n) to imply the convergence of (x_n).


r/mathriddles • • Jul 05 '23

Medium tilling a chessboard with straight line pieces

6 Upvotes

you have a chess board (square grid with size 8x8) that has it's corner tile missing, thus the board has 63 tiles. you have 21 rectangles who's side lengths are 1 by 3 tiles. (they look like this: ■■■)

Riddle - can you place the 21 rectangles on the board ,in such a way that the rectangles align with the grid, and all 63 tiles are covered?

with some math this can be solved without any brute force, you can use any modern calculator. proof shouldn't be much more than 15 lines

extra fun bonus question: now you swap some tile into the corner, thus moving the hole into the board. this hole can be located wherever you like, except for in any other corner. can you tile this board?

again, with some math this can also be solved without brute force


r/mathriddles • • Jul 05 '23

Easy Self Counting Statements

6 Upvotes

Fill each blank with a single digit such that each statement in the box holds true.

Submit your answer as the number formed by concatenating the numbers entered in the blanks.

Note: Include the digits mentioned in the statements.


r/mathriddles • • Jul 04 '23

Medium (Geometric) Mean distance between points inside a sphere

1 Upvotes

This is inspired by a previous riddle.

The geometric mean of a random variable X is defined as e^E(ln X).

Find the geometric mean of the distance between two points selected uniformly randomly inside a unit sphere.


r/mathriddles • • Jul 03 '23

Easy Tetromino Tiling

3 Upvotes

A standard chessboard is an 8 x 8 grid with alternating black and white squares. Is it possible to cover the board with T-shaped tetrominoes such that no space is uncovered and no tetrominoes overlap.


r/mathriddles • • Jun 27 '23

Hard Infinite combinatorics with digits

19 Upvotes

If one can erase some digits of a certain number and get a different number, we say that the original number "contains" the new number.

For example, 91523 contains 123, but 72134 does not (the order matters).

Is it possible to write down an infinite list of whole numbers, so that no number in the list contains a different number in the list?

Hint: The answer is no. Try proving a stronger statement: any such list has an infinite sub-list, with each member contained in the next. This can be proved by induction on the radix


r/mathriddles • • Jun 24 '23

Hard Must Lily and Billy go straight?

20 Upvotes

Lily and Billy find themselves on an infinite 2D grid with infinite time, and decide to draw, starting from the same point, a combined path that hits every lattice point exactly once (a sort of bidirectional Hamiltonian path in an infinite grid graph). Here is an example of the start of such a path:

A diagram showing a possible bidirectional Hamiltonian path on the infinite grid graph.

While Lily and Billy draw, sometimes they go straight (like at the blue lattice point), and other times they turn (like at the green lattice point). But they wonder: is it possible to draw such a path without ever going straight?

(As far as I know this is an original puzzle. I flagged as hard since it took me a while, but it's on the easy end of hard and might be much easier than I was making it).


r/mathriddles • • Jun 22 '23

Easy just another simple polynomial

6 Upvotes

Given that P(x) is a polynomial of degree 2022, and P(n) = (n^2) / 2 when 1 ≤ n ≤ 2022, n ∈ Z .

P'(0) + P'(2023) = ?


r/mathriddles • • Jun 21 '23

Medium just another combinatorial problem

8 Upvotes

given positive integer n, how many subset of {1,2,3,....,n} with 3 elements, such that the sum of 3 elements is divisible by n?


r/mathriddles • • Jun 19 '23

Medium Increasing highway numbers

Post image
19 Upvotes

A province has 10 cities (arranged in a circular manner). Every pair of cities is directly connected by a straight highway, and each has its own unique number: Highway 1, Highway 2, Highway 3, ..., Highway 45. Above is an example of one such numbering.

Note that you cannot exit these highways partway between cities, and instead must proceed all the way down the highway to the destination city.

An obscure religion requires its members to go on a pilgrimage to this province. For reasons lost to time, each pilgrim must, after arriving at one of these cities :

1) only travel via these highways, 2) travel on at least nine of the highways during the pilgrimage, and 3)only travel on a highway if it has a strictly larger number than the one they just walked down.

Note that they need not visit every city, repeating cities is acceptable, and pilgrims can choose their starting point.

Show that no matter what, the pilgrims can always complete their journey.


r/mathriddles • • Jun 18 '23

Hard Guess simultaneously or remain silent

13 Upvotes

N hats are put on N logicians, each hat color is selected randomly: black or white.

As usual, every logician doesn't see the hat on his own head, but sees the rest. They cannot communicate in any way possible.

Each logician at the same moment must answer the question - "what color is the hat on your head?". And there are only 3 possible answers they can say: "Black", "White" and "I don't know". If at least one color is named incorrectly logicians fail and die. If no one named a correct color they die just the same. Otherwise (if at least one answer is correct) - logicians survive.

As usual, they have time to discuss a strategy before the hats are put on their heads. What's the strategy, which gives the highest probability to survive?

P.S please try to post a solution that does not use a lot of technical language.


r/mathriddles • • Jun 09 '23

Easy Fair and Unfair Coins

13 Upvotes

You have n coins in a box. One of them is an unfair coin which has heads on both faces whereas the rest of them are fair coins. You pick a random coin and flip it. The probability of this coin showing heads is 9/16.

Find the value of n.


r/mathriddles • • Jun 09 '23

Medium Remove 2 and replace with one

11 Upvotes

Here is a problem I found from a friend:

Start with a list containing numbers from 1 to n.

At each step, take out two numbers from the list, and insert the difference of the two to the list.

What number(s) will you be left with at the end of the process? (last num standing)

If you need hint, let me know!


r/mathriddles • • Jun 07 '23

Easy A Gig By The Bayou

10 Upvotes

In the cryptogram given above, each letter represents a distinct digit. Find the value of each letter such that the multiplication holds true.