2025 puzzle

This week’s Fiddler is about the number 2025, in celebration of (almost) New Years!

First puzzle: What is the greatest number of distinct primes that add up to 2025?

Second puzzle: How can you assign a set of 20 distinct prime numbers to the 20 vertices of a dodecahedron, so that the numbers on the five vertices of each face add up to 2025?

My solution:
[Show Solution]

Particles in a box

This week’s Fiddler is an optimization problem about fitting particles in a box.

You have three particles inside a unit square that all repel one another. The energy between each pair of particles is $1/r$, where $r$ is the distance between them. To be clear, the particles can be anywhere inside the square or on its perimeter. The total energy of the system is the sum of the pairwise energies among the particles. What is the minimum energy for $9$ particles, and what arrangement of the particles produces it?

My solution:
[Show Solution]

Halloween Puzzle

This week’s Fiddler is about rounding!

You are presented with a bag of treats, which contains $n \geq 3$ peanut butter cups and some unknown quantity of candy corn kernels (with any amount being equally likely). You reach into the bag $k$ times, with $3 \leq k \leq n$, and pull out a candy at random. Each time, it’s a peanut butter cup! How many candy kernels do you expect to be in the bag?

My solution:
[Show Solution]

Round, round, get a round

This week’s Fiddler is about rounding!

Let $\text{round}(x)$ be the value of $x$ rounded to the nearest integer. Suppose $x_1,\dots,x_n$ are independent uniformly distributed random variables in $[0,1]$. Find the probability that
\[
\text{round}(x_1+\cdots+x_n) = \text{round}(x_1)+\cdots+\text{round}(x_n)
\]

My solution:
[Show Solution]

Tiling a Tilted Square

This week’s Fiddler is a challenging counting problem.

Consider the following array of 25 squares:

You are filling the array with rectangles by repeating the following two steps:

  1. Select one of the 12 squares along the outer perimeter that has not yet been selected as part of a rectangle.
  2. Form the largest rectangle you can that includes the square you just selected and other squares that are not yet part of any such rectangle.

You repeat these steps until every square along the perimeter has been selected. Here are two final states you might encounter:

How many distinct final states are possible? (Note: States that are rotations or reflections of each other should be counted as distinct.)

My solution:
[Show Solution]

When is a triangle like a circle?

This week’s Fiddler is about a generalized notion of “radius”.

For a circle with radius $r$, its area is $\pi r^2$ and its circumference is $2\pi r$. If you take the derivative of the area formula with respect to $r$, you get the circumference formula! Let’s define the term “differential radius.” The differential radius $r$ of a shape with area $A$ and perimeter $P$ (both functions of $r$) has the property that $dA/dr = P$. (Note that $A$ always scales with $r^2$ and $P$ always scales with $r$.)

For example, consider a square with side length $s$. Its differential radius is $r = s/2$. The square’s area is $s^2$, or $4r^2$, and its perimeter is $4s$, or $8r$. Sure enough, $dA/dr = d(4r^2)/dr = 8r = P$. What is the differential radius of an equilateral triangle with side length s?

Extra credit:
What is the differential radius of a rectangle with sides of length $a$ and $b$?

My solution:
[Show Solution]

Tiling squares

This week’s Fiddler is about tiling a square with smaller squares.

Suppose you have infinitely many 3-by-3 cm tiles and infinitely many 5-by-5 cm tiles. You want to use some of these tiles to precisely cover a square whose side length is a whole number of centimeters. Tiles may not overlap, and they must completely cover the larger square, without jutting beyond its borders. What is the smallest side length this larger square can have, such that it can be precisely covered using at least one 3-by-3 tile and at least one 5-by-5 tile?

Extra credit:
This time, you have an infinite supply of square tiles for each odd whole number side length (as measured in centimeters) greater than 1 cm. In other words, you have infinitely many 3-by-3 cm tiles, infinitely many 5-by-5 cm tiles, infinitely many 7-by-7 cm tiles, and so on. You want to use one or more of these tiles to precisely cover a square whose side length is $N$ cm, where $N$ is an integer. Once again, tiles may not overlap, and they must completely cover the larger square without jutting beyond its borders. What is the largest integer N for which this task is not possible?

My solution:
[Show Solution]

Showcase Showdown

This week’s Fiddler is based on “Showcase Showdown” on the game show “The Price is Right”.

Suppose we have some number of players. Player A is the first to spin a giant wheel, which spits out a real number chosen randomly and uniformly between 0 and 1. All spins are independent of each other. After spinning, A can either stick with the number they just got or spin the wheel one more time. If they spin again, their assigned number is the sum of the two spins, as long as that sum is less than or equal to 1. If the sum exceeds 1, A is immediately declared a loser.

After A is done spinning (whether once or twice), B steps up to the wheel. Like A, they can choose to spin once or twice. If they spin twice and the sum exceeds 1, they are similarly declared the loser. This continues until all players are done. Whoever has the greater value (that does not exceed 1) is declared the winner.

Assuming all players play the game optimally, what are player A’s chances of winning?

My solution:
[Show Solution]

How many times can you add up the digits?

This week’s Fiddler is a puzzle about adding digits over and over again.

For any positive, base-10 integer $n$, define $f(n)$ as the number of times you have to add up its digits until you get a one-digit number. For example, $f(23) = 1$ because $2+3 = 5$, a one-digit number. Meanwhile, $f(888) = 2$, since $8+8+8 = 24$, a two-digit number, and then adding up those digits gives you $2+4 = 6$, a one-digit number. Find the smallest whole number $n$ such that $f(n) = 4$.

Extra Credit: For how many whole numbers $n$ between $1$ and $10,000$ does $f(n) = 3$?

My solution:
[Show Solution]

Chessboard race

This week’s Fiddler is a puzzle with a surprise connection to physics!

A tiny ant is racing across a 2-by-2 chessboard, as shown below, where each smaller square has a side length of 1 cm. The ant starts at the bottom-left corner of the bottom-left black square and is trying to reach the top-right corner of the top-right black square. The ant moves faster on the white squares than on the black squares. Speed on the white squares is 1 cm per minute, while speed on the black squares is 0.9 cm per minute. What’s the least amount of time it will take the ant to reach the finish?

Extra Credit: Instead, the board is now 8-by-8, as shown below.

My solution:
[Show Solution]