Skeptic Percentage

A quiz website Brilliante uses a scoring method to calculate how many percents of people are answering a question correctly, as an example, if a question is answered by 3 people and only one of them getting correct, then this website will show "33% of people getting this correct! ". Now, there is a more popular question which has b b people answered that and a a of them getting it correct, note that a a and b b are coprime integers. The system renders the message with ratio 33%. What is the minimum value of b b ?

Assume that the system rounds the percentage to the nearest integer percent, it rounds 47.5% to 48%, but it rounds 91.2% to 91%.


The answer is 40.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Kelvin Hong
Jul 3, 2018

Note that whatever is the value of a a , we could find a value of b = 3 a b=3a which makes the ratio rendered as 33% (although b=3a violate the coprime rule, it is a good starting point.)

Because of gcd ( a , 3 a ± 1 ) = 1 \gcd(a,3a\pm1)=1 , we want to find as minimum as possible that 3 a ± 1 3a\pm1 satisfy the condition, now let me declare this first inequality: 0.325 a b < 0.335 0.325\leq\frac ab<0.335

If b = 3 a 1 b=3a-1 , then a b = a 3 a 1 > a 3 a > 0.325 \dfrac{a}{b}=\dfrac{a}{3a-1}>\dfrac{a}{3a}>0.325 , so it is only necessary to check the upper bound: a 3 a 1 < 0.335 = 67 200 200 a < 201 a 67 a > 67 \begin{aligned}\dfrac{a}{3a-1}&<0.335\\&=\frac{67}{200}\\200a&<201a-67\\a&>67\end{aligned} So at this case the minimum value of a a will be 68 68 , then b = 203 b=203 , a b = 0.334975... 0.33 \dfrac ab =0.334975...\approx0.33 .

Else if b = 3 a + 1 b=3a+1 , then a b = a 3 a + 1 < a 3 a < 0.335 \dfrac{a}{b}=\dfrac{a}{3a+1}<\dfrac{a}{3a}<0.335 , so we only need to check bottom bound: a 3 a + 1 0.325 = 13 40 40 a 39 a + 13 a 13 \begin{aligned}\dfrac a{3a+1}&\geq0.325\\&=\frac{13}{40}\\40a&\geq39a+13\\a&\geq13\end{aligned} at this point, the minimum of a a will be 13 13 and b b is 40 40 , which is far lesser then previous value 203 203 . we have 13 40 = 0.325 0.33 \dfrac{13}{40}=0.325\approx0.33 which fullfil our purpose.

  • This is making sense because the gap of 1 3 \dfrac13 between bottom bound is larger than upper bound, so the answer will be found in the bottom bound section.

Nice solution!

donglin loo - 2 years, 11 months ago

Log in to reply

Thanks! Idea from brilliant scoring method, but don't know is it exactly.

Kelvin Hong - 2 years, 11 months ago

Log in to reply

Yes the idea of this problem is brilliant indeed and I don't see flaws in your solution.

donglin loo - 2 years, 11 months ago

Thanks, but I mean I don't know is Brilliant actually using this method, haha!

Kelvin Hong - 2 years, 11 months ago

Log in to reply

@Kelvin Hong Oh, it should be I guess.

donglin loo - 2 years, 11 months ago

Hey, 0.334975 = 0.33498 = 0.335 = 0.34 0.334975 = 0.33498 = 0.335 = 0.34 ?

. . - 3 months, 3 weeks ago
Brian Moehring
Jul 3, 2018

We consider two cases by looking at the continued fractions of x = a b x = \frac{a}{b} :

  • 1 3 < x < 0.335 = 67 200 \frac{1}{3} < x < 0.335 = \frac{67}{200}
  • 0.325 = 13 40 x < 1 3 0.325 = \frac{13}{40} \leq x < \frac{1}{3}

In the first case: 200 67 < x 1 < 3 66 67 < x 1 2 < 1 1 < ( x 1 2 ) 1 < 67 66 0 < ( x 1 2 ) 1 1 < 1 66 66 < ( ( x 1 2 ) 1 1 ) 1 \frac{200}{67} < x^{-1} < 3 \\ \frac{66}{67} < x^{-1} - 2 < 1 \\ 1 < (x^{-1} - 2)^{-1} < \frac{67}{66} \\ 0 < (x^{-1} - 2)^{-1}-1 < \frac{1}{66} \\ 66 < ((x^{-1}-2)^{-1}-1)^{-1} This last step of the algorithm is the first one that admits an integer solution, and the smallest such solution is 67 67 , so we solve ( ( x 1 2 ) 1 1 ) 1 = 67 x = 68 203 ((x^{-1}-2)^{-1}-1)^{-1} = 67 \implies x = \frac{68}{203}

In the second case: 3 < x 1 40 13 0 < x 1 3 1 13 13 ( x 1 3 ) 1 3 < x^{-1} \leq \frac{40}{13} \\ 0 < x^{-1} - 3 \leq \frac{1}{13} \\ 13 \leq (x^{-1}-3)^{-1} Again, this last step admits an integer solution, and the smallest such solution is 13 13 , so we solve ( x 1 3 ) 1 = 13 x = 13 40 . (x^{-1}-3)^{-1} = 13 \implies x = \frac{13}{40}.

Between the two of these, the smallest denominator is 40 \boxed{40} .

As a sidenote, I believe this process actually minimizes a + b a+b , not b b , but since a 0.33 b a \approx 0.33b and the values we found for b b are relatively small, there's a pretty good argument for why minimizing a + b a+b will be the same as b b in this case.

That said, I really don't know when, if ever, it would fail.

Brian Moehring - 2 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...