You are viewing a single comment's thread from:

RE: ❓Steemit Quiz 2025 - Week 12

in NO Community9 months ago (edited)

Question 7

💡 Steemit + Mathematics 🔢

A team of Steemians decide to buy all 1000 possible tickets (000–999) in the Steemit Lottery for a single round. The lottery pays out according to these rules:

  • Exact 3-Digit Match: 50 STEEM (Jackpot)
  • 2 Correct Digits in the Exact Position: 10 STEEM
  • Super Number in the First Position: 5 STEEM
  • Super Number Anywhere Else: 1 STEEM

How many STEEM would you team accumulate in total if your team hold all 1000 tickets for this single drawing?

Hint: This is what's happening in the background,

  1. If ticket === winningNumber → 50 STEEM (Jackpot)
  2. Else if 2 digits match in correct position → 10 STEEM
  3. Else if first digit matches winningNumber’s first → 5 STEEM
  4. Else if winningNumber’s first digit appears anywhere else → 1 STEAM
  5. Else → 0

So, we already know categories #1, #2, and #3 add up to 1 + 27 + 81 = 109 tickets.

That leaves 1000 − 109 = 891 tickets to be split between (4) the “1 STEEM” tier and (5) the “0 STEEM” tier.

While, 171 is the straight forward calculation for #04, sadly it is not if we loop all 1,000 numbers and filtering by:

  • first digit ≠ 6
  • second or third digit = 6

The easiest in this scenario is to look for non winning tickets (0 STEEM) and minus all to get to #04 (Use Brute-Force Logic)

I probably gave away the answer with that explanation, but we’ve passed the 24-hour mark, and I don’t want to bore you all anymore

Sort:  

If I think procedurally and imagine that I have to submit my Jackpot ticket with the exact match in order to receive its prize, then I get 50 Steem for it, and I can no longer take into account this same ticket.

Thus, in the next step with two correct digits, I can no longer submit my Jackpot-ticket, which leaves me with 290 Steem (30 minus 1 equals 29 tickets, each 10 Steem).

Accordingly, I would now only have 100 minus 20 lots in my hand with the super digit at the front, resulting in 80 times 5 equalling 400 Steem.

Even for lots with a super number somewhere else, only those remain that I have not already received, i.e. 200 mathematically possible minus the two times ten, where the super number is also at the front or at the back, the latter again reduced by one lot that has just been submitted, i.e. 200 minus 19 equals 181 lots. In addition, I had already submitted lots with the above step two out of three correct digits. That leaves 161 lots of 1 steem each, making 161 steem.

All in all, 50 + 290 + 400 + 161 = 901 Steem.

Translated with DeepL.com (free version)

That guess was nearly perfect but just a little off!

Alright everyone, you have the logic now. I think it should be easier to crack the code now.

Ok, the answer is: It depends

If the number drawn does not have any duplicates, e.g. 123, then you could win up to 923 STEEM

If there is a single duplicate, e.g. 122, then you could win up to 824 STEEM

This is because there are fewer possibilities of your super number being matched, due to the duplicate number.

If there are 3 duplicates, e.g. 111, then you could win up to 725 STEEM

The reason being, if there are 3 duplicates, then if your super number is matched, you can only get the 5 STEEM and never the 1 STEEM.

The below images are clickable to view the calculations.

All 1 number:

2 numbers drawn the same:

3 different numbers:

My goodness that's the longest answer it seems 😅🤣

It depends or I would have accepted 725 to 1040.

Anyway mathematically most probable answer is 896 STEEM if all the winning numbers are Unique. @henryclive got that correct. (Half a point)

  • According to Brute-Force Logic its 1040 STEEM (If you run it by a code it will always show this number).

  • One Duplicate (e.g., 122, 332, 455) around 824 STEEM

  • Triple (e.g., 111, 222) around 725 STEEM

Half a point to @the-gorillla understanding the lottery logic.

Hope you all can forgive me for that stupid question, I’ll bring a stronger one next time for sure 👍

Loading...
 9 months ago 

Shucks, I didn't consider the duplicates and triples! I was assuming a drawn number like 123 all unique digits. 😅 Not a stupid question at all - you stirred things up for sure. But the-gorilla showed us the light!

Percentage wise that will be the most case I believe.

Exact 3-Digit Match: 50 STEEM (Jackpot) - Can only happen once.

50 STEEM

2 Correct Digits in the Exact Position: 10 STEEM

Can happen 3 times. 30 STEEM

Super Number in the First Position: 5 STEEM

No idea what this means. 100 x 5 = 500 STEEM

Super Number Anywhere Else: 1 STEEM

Also not sure what this means. 200 x 1 = 200 STEEM.

So my answer is:

50 + 30 + 500 + 200 = 780 STEEM

Nope! Quite off.. can't be "not sure what this means" so better to read this: Winning Conditions and Payment Structures

In short Super Number is the first number in the winning number.

I'll have to rethink the maths in 3 hours time. It's screwing with my brain!

For future questions, it's best if you reply to the Question Tracker - I think that most people look there for the latest question.

Ah.. will do that! 👍

 9 months ago 

50 STEEM +
3x90x9x30= 72900 STEEM +
10x5= 50 STEEM +
20x1= 20 STEEM =

73020 STEEM

Then we will really become millionaires if this is the correct answer—we’ll have to buy 1000 STEEM, and then, after winning, we’ll keep buying all the tickets every day again. This business plan even seems better than the ice cream one! 😲

3x90x9x30= 72900 STEEM 😲

Way off! and I don't get this part!

 9 months ago 

Damn... 😂

 9 months ago 

Hm......
I can give it a try. I was never that good at calculating probability. Maybe rats aren't either! 😉

Wait till you find out, you’ll be totally mind-blown! 🤣

 9 months ago 

999 STEEM

I like that guess! but NO.. I would say little higher as a hint.

 9 months ago 

1000 ?!?!

Gorillla found the right logic.

 9 months ago 

896 steem

50+270+405+171

171 is the mystery number so I will add a clue for that.

 9 months ago 

I hate discrete math or is this proba and statistics? 😅

Exact:
1x50steem
2 correct digit in exact position:
9+9+9 = 27tickets x 10steem
Super in 1st position:
100x5steem
Super anywhere else:
(9x10) + (9x10) - 9 = 171 x 1steem

50 + 270 + 500 + 171 = 991steem

You nearly got it with that one! few logics are correct.

 9 months ago 

50+270+405+171=896steem

Ok I think I will add a hint for the "Super Number Anywhere Else"

 9 months ago 

1x50 = 50 steem
30x10 = 300 steem
100x5 = 500 steem
270x1 = 270 steem

1120 steem

Nope.. just beyond the actual number and off with the logic.

Loading...
 9 months ago 

923

Nope! Gorilla is close to the answer.. grab some clues from it 🤫

 9 months ago (edited)

My first 3 calculations were 50,270 and 405. I don't know where I'm wrong in the last one.