Thread Rating:

Poll

25 votes (49.01%)
16 votes (31.37%)
7 votes (13.72%)
4 votes (7.84%)
12 votes (23.52%)
3 votes (5.88%)
6 votes (11.76%)
5 votes (9.8%)
12 votes (23.52%)
10 votes (19.6%)

51 members have voted

KevinAA
KevinAA
  • Threads: 21
  • Posts: 487
Joined: Jul 6, 2017
February 26th, 2026 at 4:25:45 PM permalink
Let's say that you start with 15 ml of milk and 250 ml of coffee. You move one teaspoon (5 ml) of milk into the coffee mug.

The ratio of coffee to total volume becomes 250/255 which is about 98%. Then, you take one teaspoon (5ml) of the 98% coffee + 2% milk mixture and dump it into the milk container. This teaspoon is 98% coffee and 2% milk, so .98*5ml coffee = 4.9 ml and 0.1 ml milk.

The milk container had 10 ml of milk after a teaspoon of it was removed. After adding back 5 ml, its volume is again 15 ml, and most of that, but not all, that is returned (98%) is coffee.

The amount of coffee in the milk cup is 4.901961 ml. The amount of milk in the coffee cup is 5 ml.
Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 26th, 2026 at 7:22:44 PM permalink
Quote: KevinAA

Let's say that you start with 15 ml of milk and 250 ml of coffee. You move one teaspoon (5 ml) of milk into the coffee mug.

The ratio of coffee to total volume becomes 250/255 which is about 98%. Then, you take one teaspoon (5ml) of the 98% coffee + 2% milk mixture and dump it into the milk container. This teaspoon is 98% coffee and 2% milk, so .98*5ml coffee = 4.9 ml and 0.1 ml milk.

The milk container had 10 ml of milk after a teaspoon of it was removed. After adding back 5 ml, its volume is again 15 ml, and most of that, but not all, that is returned (98%) is coffee.

The amount of coffee in the milk cup is 4.901961 ml. The amount of milk in the coffee cup is 5 ml.
link to original post



I'm not sure where your mistake is, but here are the amounts and ratios after each movement.

After first movement


Cup Coffee Milk Total Ratio Coffee Ratio Milk
Coffee 250 5 255 0.980392 0.019608
Milk 0 10 10 0.000000 1.000000



After second movement



Cup Coffee Milk Total Ratio Coffee Ratio Milk
Coffee 245.0980392 4.901960784 250 0.980392 0.019608
Milk 4.901960784 10.09803922 15 0.326797 0.673203


Note the milk in the coffee cup = coffee in the milk cup = 4.901960784.

We at least agree there is 4.901960784 ml of coffee in the milk cup. That had to displace the same amount of milk that used to be there. Where else could it have gone but the coffee cup?
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
KevinAA
KevinAA
  • Threads: 21
  • Posts: 487
Joined: Jul 6, 2017
February 26th, 2026 at 8:54:27 PM permalink
OK, I get it now. That was a good one!
Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 27th, 2026 at 7:17:34 AM permalink
You flip a fair coin 50 times. What is the probability of never seeing three or more heads in a row? A numeric answer to six significant digits will suffice.
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
Ace2
Ace2 
  • Threads: 33
  • Posts: 2872
Joined: Oct 2, 2017
February 27th, 2026 at 10:21:16 AM permalink
Exact answer should be the 52nd tribonacci number divided by 2^50. There is a closed form formula for tribonaccis but it’s much longer than the Fibonacci formula.

Very easy to Markov the answer though I consider that brute forcing it
It’s all about making that GTA
Ace2
Ace2 
  • Threads: 33
  • Posts: 2872
Joined: Oct 2, 2017
February 27th, 2026 at 10:32:28 AM permalink
Quote: Wizard

I've been working on this on my own. I found this video, by one of my favorite YouTube channels, to be very useful in finding the nth term in the Fibonacci sequence. From there, I can see how to adapt the logic for the dice question.


Direct: https://www.youtube.com/watch?v=ITSbuT9ojOw

By the way, this was hardly an Easy math puzzle.
link to original post

This was about the 500th puzzle on this thread that wasn’t “easy”
It’s all about making that GTA
ThatDonGuy
ThatDonGuy
  • Threads: 136
  • Posts: 7660
Joined: Jun 22, 2011
February 27th, 2026 at 10:38:59 AM permalink
Quote: Ace2

Exact answer should be the 52nd tribonacci number divided by 2^50. There is a closed form formula for tribonaccis but it’s much longer than the Fibonacci formula.
link to original post


It does not help that determining a closed form for a recursive sequence that depends on the three previous terms requires finding the roots to a cubic equation.
Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 27th, 2026 at 11:28:41 AM permalink
I'm still looking for a simple Markov Chain answer, in part to verify my own answer.
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 27th, 2026 at 1:13:45 PM permalink
Here are some riddles for you.

  1. What has a face and hands but no arms or legs?
  2. If I have a bee in my hand, what is in my eye?
  3. What's harder for you to catch the faster you run?
  4. I appear twice in the morning. I appear twice in the evening. But I only appear once at night. What am I?
  5. What has 13 hearts but no other organs?
  6. What has three feet but can't walk?
  7. What has a tail but no body?
  8. What is so delicate that if you say its name, it breaks?
  9. What is always on its way but never arrives?
  10. Five friends are together in a room. Charlie is knitting. Don is cooking. Ace is playing chess. Gordon is reading a book. What is the fifth friend doing?
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
ThatDonGuy
ThatDonGuy
  • Threads: 136
  • Posts: 7660
Joined: Jun 22, 2011
February 27th, 2026 at 1:48:21 PM permalink

What has a face and hands but no arms or legs?
An analog clock
If I have a bee in my hand, what is in my eye?

What's harder for you to catch the faster you run?
Your breath
I appear twice in the morning. I appear twice in the evening. But I only appear once at night. What am I?
The letter N
What has 13 hearts but no other organs?
A deck of cards
What has three feet but can't walk?
A yardstick
What has a tail but no body?
A coin (usually)
What is so delicate that if you say its name, it breaks?
Silence
What is always on its way but never arrives?
Tomorrow
Five friends are together in a room. Charlie is knitting. Don is cooking. Ace is playing chess. Gordon is reading a book. What is the fifth friend doing?
Watching one of those videos on Facebook where you click on the link and it brings up a page loaded with ads but it never does reveal the answer to what was on the original video

Ace2
Ace2 
  • Threads: 33
  • Posts: 2872
Joined: Oct 2, 2017
February 27th, 2026 at 2:55:05 PM permalink
Quote: Wizard

I'm still looking for a simple Markov Chain answer, in part to verify my own answer.
link to original post

Very simple Markov chain with only three states (last 2, 1, or 0 flips were heads). The sum of the three states after fifty iterations is the answer…gives you the probability that there were never more than two consecutive heads
It’s all about making that GTA
charliepatrick
charliepatrick
  • Threads: 39
  • Posts: 3139
Joined: Jun 17, 2011
February 27th, 2026 at 3:35:02 PM permalink
I haven't completed the spreadsheet but here is a possible approach. It considers fifty empty slots which are to be filled with "H" or "T", in such a way that there aren't any "HHH"..

Consider three kinds of lines
(a) lines which end "HH"
(b) lines which end "H"
(c) lines which do not have a "H" in last position
Then, initially, fill the remainder of the line with tails.
Now consider two kinds of additions
(i) "HT" (one head)
(ii) "HHT" (two heads)
Note for the each series of "Heads" to finish, there must be room for a "Tail" after it/them. As we're only interested in one or two Heads, then these are the only two types of additions allowed. Since there is a possiblity, at the end of a line, for none, one or two Heads not followed by a Tail, then looks at these types of lines - which now have 48,49,50 "empty" slots.
For each type of line how many of (i) or (ii) can one add
"HH" will have 48 slots, "H" will have 49, "none" will have 50
"HT""HHT"check50 slots49 slots48 slots
000111
013484746

Another idea is to use similar logic for (say) a row of ten, identifying how many start or end with any Heads (i.e. whether they could be put next to each other). (I might look at this a bit more later!)
charliepatrick
charliepatrick
  • Threads: 39
  • Posts: 3139
Joined: Jun 17, 2011
Thanked by
Wizard
February 27th, 2026 at 4:32:17 PM permalink

Using brute force one can work out how many of the 1024 ways to toss coins results in the block of ten results starting with a tail or consecutive heads.
(a)T - T149
(b) T - H81
(c) T - HH44
(d)H - T81
(e) H - H44
(f)H - HH24
(g)HH - T44
(h)HH - H24
(i)HH - HH13

The next table looks at how many ways to end the first ten. Thus 1T says it ends with a tail, which can be a d or g. Similarly for H or HH.
a/d/g1T274
b/e/h1H149
c/f/i1HH81

The next table looks at how you can move from 1T,1H,1HH to various other states. For instance to get from 1HH to 2HH you can only have a T-HH, as the others would create three Heads.
a/d/g1T > 2T27427475076
b/e/h1T > 2H27414940826
c/f/i1T > 2HH2748122194
a/d 1H > 2T14923034270
b/e 1H > 2H14912518625
c/f 1H > 2HH1496810132
a1HH > 2T8114912069
b1HH > 2H81816561
c1HH > 2HH81443564

You then just repeat this logic working with how far you've got and observing that 2T = 1T>2T+1H>2T+1HH>2T etc.
a/d/g2T > 3T12141527433267710
b/e/hT >2H12141514918090835
c/f/iT > HH121415819834615
a/d H > T6601223015182760
b/e H >2H660121258251500
c/f H > HH66012684488816
aHH >2T358901495347610
bHH > H35890812907090
cHH > HH35890441579160


a/d/g3T > 4T5379808027414740673920
b/e/hT >2H537980801498015913920
c/f/iT > HH53798080814357644480
a/d H > T292494252306727367750
b/e H >2H292494251253656178125
c/f H > HH29249425681988960900
aHH >2T159025911492369486059
bHH > H15902591811288109871
cHH > HH1590259144699714004


a/d/g4T > 5T238375277292746531482597746
b/e/hT >2H238375277291493551791631621
c/f/iT > HH23837527729811930839746049
a/d H > T129602019162302980846440680
b/e H >2H129602019161251620025239500
c/f H > HH1296020191668881293730288
aHH >2T70463193841491049901588216
bHH > H704631938481570751870104
cHH > HH704631938444310038052896
TOTAL19426970897100

This gives the total ways. Just divide by 250 to get the chances.
charliepatrick
charliepatrick
  • Threads: 39
  • Posts: 3139
Joined: Jun 17, 2011
February 27th, 2026 at 5:09:22 PM permalink
Just keep count of the various states as the rolls roll in. The lost is two times (as the roll could be a head or tail) the running total plus HH (as they threw a Head).
Roll…T…H…HHLost
11100
22110
34211
47423
513748
62413720
744241347
8814424107
91498144238
1027414981520
115042741491121
129275042742391
1317059275045056
143136170592710616
1557683136170522159
16106095768313646023
171951310609576895182
18358901951310609196132
19660123589019513402873
201214156601235890825259
21223317121415660121686408
224107442233171214153438828
237554764107442233176999071
24138953775547641074414221459
252555757138953775547628853662
2647007702555757138953758462800
27864606447007702555757118315137
281590259186460644700770239186031
2929249425159025918646064483072832
30537980802924942515902591974791728
319895009653798080292494251965486047
3218199760198950096537980803960221519
33334745777181997601989500967974241118
3461569347433474577718199760116047432332
35113243685261569347433474577732276862265
362082876103113243685261569347464888470307
37383100642920828761031132436852130392634088
38704631938438310064292082876103261917705028
391296020191670463193843831006429525918286159
40238375277291296020191670463193841055667578747
414384404902923837527729129602019162118381476878
428064177867443844049029238375277294249723155672
4314832335543280641778674438440490298523283839073
442728091831351483233554328064177867417090411727175
4550177431724127280918313514832335543234261465233024
4692290685580850177431724127280918313568671253821480
471697490356184922906855808501774317241137615316826095
4831221715292331697490356184922906855808275732407969431
49574256874122531221715292331697490356184552387722794670
5010562230626642574256874122531221715292331106472935945520
Winners19426970897100

Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 27th, 2026 at 5:17:40 PM permalink
Quote: charliepatrick

Just keep count of the various states as the rolls roll in. The lost is two times (as the roll could be a head or tail) the running total plus HH (as they threw a Head).
Roll…T…H…HHLost
11100
22110
34211
47423
513748
62413720
744241347
8814424107
91498144238
1027414981520
115042741491121
129275042742391
1317059275045056
143136170592710616
1557683136170522159
16106095768313646023
171951310609576895182
18358901951310609196132
19660123589019513402873
201214156601235890825259
21223317121415660121686408
224107442233171214153438828
237554764107442233176999071
24138953775547641074414221459
252555757138953775547628853662
2647007702555757138953758462800
27864606447007702555757118315137
281590259186460644700770239186031
2929249425159025918646064483072832
30537980802924942515902591974791728
319895009653798080292494251965486047
3218199760198950096537980803960221519
33334745777181997601989500967974241118
3461569347433474577718199760116047432332
35113243685261569347433474577732276862265
362082876103113243685261569347464888470307
37383100642920828761031132436852130392634088
38704631938438310064292082876103261917705028
391296020191670463193843831006429525918286159
40238375277291296020191670463193841055667578747
414384404902923837527729129602019162118381476878
428064177867443844049029238375277294249723155672
4314832335543280641778674438440490298523283839073
442728091831351483233554328064177867417090411727175
4550177431724127280918313514832335543234261465233024
4692290685580850177431724127280918313568671253821480
471697490356184922906855808501774317241137615316826095
4831221715292331697490356184922906855808275732407969431
49574256874122531221715292331697490356184552387722794670
5010562230626642574256874122531221715292331106472935945520
Winners19426970897100


link to original post



I agree!

The answer can also be found by doing a modified Fibonacci series, starting with 2-4-7 and going back the last three terms.
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
Wizard
Administrator
Wizard
  • Threads: 1542
  • Posts: 28037
Joined: Oct 14, 2009
February 27th, 2026 at 5:18:23 PM permalink
Quote: ThatDonGuy


What has a face and hands but no arms or legs?
An analog clock
If I have a bee in my hand, what is in my eye?

What's harder for you to catch the faster you run?
Your breath
I appear twice in the morning. I appear twice in the evening. But I only appear once at night. What am I?
The letter N
What has 13 hearts but no other organs?
A deck of cards
What has three feet but can't walk?
A yardstick
What has a tail but no body?
A coin (usually)
What is so delicate that if you say its name, it breaks?
Silence
What is always on its way but never arrives?
Tomorrow
Five friends are together in a room. Charlie is knitting. Don is cooking. Ace is playing chess. Gordon is reading a book. What is the fifth friend doing?
Watching one of those videos on Facebook where you click on the link and it brings up a page loaded with ads but it never does reveal the answer to what was on the original video


link to original post



Agreed. Still looking for 2 and 10, although points given for humor on #10.
"My life is spent in one long effort to escape from the commonplace of existence. These little problems help me to do so." -- Sherlock Holmes
Ace2
Ace2 
  • Threads: 33
  • Posts: 2872
Joined: Oct 2, 2017
Thanked by
Wizard
February 27th, 2026 at 5:53:25 PM permalink
Quote: Wizard

Quote: charliepatrick

Just keep count of the various states as the rolls roll in. The lost is two times (as the roll could be a head or tail) the running total plus HH (as they threw a Head).
Roll…T…H…HHLost
11100
22110
34211
47423
513748
62413720
744241347
8814424107
91498144238
1027414981520
115042741491121
129275042742391
1317059275045056
143136170592710616
1557683136170522159
16106095768313646023
171951310609576895182
18358901951310609196132
19660123589019513402873
201214156601235890825259
21223317121415660121686408
224107442233171214153438828
237554764107442233176999071
24138953775547641074414221459
252555757138953775547628853662
2647007702555757138953758462800
27864606447007702555757118315137
281590259186460644700770239186031
2929249425159025918646064483072832
30537980802924942515902591974791728
319895009653798080292494251965486047
3218199760198950096537980803960221519
33334745777181997601989500967974241118
3461569347433474577718199760116047432332
35113243685261569347433474577732276862265
362082876103113243685261569347464888470307
37383100642920828761031132436852130392634088
38704631938438310064292082876103261917705028
391296020191670463193843831006429525918286159
40238375277291296020191670463193841055667578747
414384404902923837527729129602019162118381476878
428064177867443844049029238375277294249723155672
4314832335543280641778674438440490298523283839073
442728091831351483233554328064177867417090411727175
4550177431724127280918313514832335543234261465233024
4692290685580850177431724127280918313568671253821480
471697490356184922906855808501774317241137615316826095
4831221715292331697490356184922906855808275732407969431
49574256874122531221715292331697490356184552387722794670
5010562230626642574256874122531221715292331106472935945520
Winners19426970897100


link to original post



I agree!

The answer can also be found by doing a modified Fibonacci series, starting with 2-4-7 and going back the last three terms.
link to original post

That’s actually called the tribonacci series. To calculate the probability of no consecutive quads you’d use the tetranacci series, and so on
It’s all about making that GTA
  • Jump to: