#ThisWeeksFiddler, 20240524

ETA: Mine eyes have been opened by Tom Keith.

This week the question is: Can You Win at Non-Traditional Blackjack?

You’re playing a modified version of blackjack, where the deck consists of exactly 10 cards numbered 1 through 10. Unlike traditional blackjack, in which the ace can count as 1 or 11, the 1 here always has a value of 1.

You shuffle the deck so the order of the cards is completely random, after which you draw one card at a time. You keep drawing until the sum of your drawn cards is at least 21. If the sum is exactly 21, you win! But if the sum is greater than 21, you “bust,” or lose.

What are your chances of winning, that is, of drawing a sum that is exactly 21?

And for extra credit:

You’re playing the same modified version of blackjack again, but this time, whenever there’s even the slightest chance you could bust on the next card, you quit the round and start over. On average, how many rounds should you expect to start until you finally win?

Highlight to reveal solution:

My program solution gets a wildly different result. Sigh.

And for extra credit:

And again, my program says otherwise. Hmf.

#ThisWeeksFiddler, 20240517

This week the question is: When Is a Triangle Like a Circle?

… 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 r2 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 s2, or 4r2, and its perimeter is 4s, or 8r. Sure enough, dA/dr = d(4r2)/dr = 8r = P.

What is the differential radius of an equilateral triangle with side length s?

Highlight to reveal solution:

#ThisWeeksFiddler, 20240503

This week the question is: Can You Beat the Heats?

There are 25 sprinters at a meet, and there is a well-defined order from fastest to slowest. That is, the fastest sprinter will always beat the second-fastest, who will in turn always beat the third-fastest, and so on. However, this order is not known to you in advance.

To reveal this order, you can choose any 10 sprinters at a time to run in a heat. For each heat, you only know the ordinal results, so which runner finishes first, second, third, and so on up to 10th. You do not know the specific finishing time for any runner, making it somewhat difficult to compare performances across heats.

Your goal is to determine with absolute certainty which of the 25 sprinters is fastest, which is second-fastest, and which is third-fastest. What is the fewest number of heats needed to guarantee you can identify these three sprinters?

And for extra credit:

At a different meet, suppose there are six sprinters that can race head-to-head. (In other words, there are only two sprinters per heat.) Again, they finish races in a consistent order that is not known to you in advance.

This time, your goal is to determine the entire order, from the fastest to the slowest and everywhere in between. What is the fewest number of head-to-head races needed to guarantee you can identify this ordering?

Read more: #ThisWeeksFiddler, 20240503

Highlight to reveal solution:

And for extra credit: