%solvers

By now, you must have seen that little rectangle pop up in the bottom corner of the brilliant problem pages saying "X% of people solved this problem."

Now, assume that the % solvers is determined by # of solvers total views 100 \lfloor \frac{\text{\# of solvers}}{\text{total views}}\cdot 100\rfloor

Where x \lfloor x \rfloor denotes the floor function of the greatest integer less than or equal to x)

What is the minimum number of views that a problem can have if the % solvers displayed is 19%.

This is part of the set Trevor's Ten


The answer is 21.

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.

4 solutions

This is not a general solution. I pretty much lucked out since you used 19 19 .

Anyways, 100 N T = 19 \left\lfloor \frac{100N}{T} \right\rfloor = 19

19 100 N T < 20 \implies 19 \leq \frac{100N}{T} < 20

19 100 N T < 20 100 \implies \frac{19}{100} \leq \frac{N}{T} < \frac{20}{100}

19 100 N 1 T < 20 100 N \implies \frac{19}{100N} \leq \frac{1}{T} < \frac{20}{100N}

100 N 19 T > 100 N 20 \implies \frac{100N}{19} \geq T > \frac{100N}{20}

5.26 N T > 5 N \implies 5.26N \geq T > 5N

Now suppose that 5.26 N 5 N < 1 5.26N - 5N < 1 . That would imply 5.26 N < 5 N + 1 5.26N < 5N + 1 . Also, since T > 5 N , T > 5N, and since 5 N 5N and T T are integers, we have T 5 N + 1 T \geq 5N + 1 . Therefore, T 5 N + 1 > 5.26 N T > 5.26 N T \geq 5N + 1 > 5.26N \implies T > 5.26N . Which is a contradiction since we have 5.26 N T 5.26N \geq T .

Therefore 5.26 N 5 N > 1 5.26N - 5N > 1

So, 5.26 N 5 N 1 . 26 N 1 N 3.84 5.26N - 5N \geq 1 \implies .26N \geq 1 \implies N \geq 3.84 Taking N = 4 N = 4 , we have

21.04 T > 20 21.04 \geq T > 20 , giving us a solution of T = 21 T = \boxed{21}

I understood your solution until you said 5.26N - 5N is greater than or equal to 1. Why is that true? Also, could you explain the latter half of your solution a little more? I couldn't grasp all of it. Thanks.

Shashank Rammoorthy - 6 years, 2 months ago

Log in to reply

I've edited my solution now. Hope you understand it now.

Siddhartha Srivastava - 6 years, 2 months ago

Log in to reply

Thanks, I do now.

Shashank Rammoorthy - 6 years, 2 months ago
Rajen Kapur
Mar 17, 2015

Aim is to solve 100x - 19y = 1 in x = 4 and y = 21, as x/y is nearly 19/100. The method of solving this is by using continued fractions, viz. 100/19 = 5 + 1/{3 + 1/[1 + 1/4}}. Then calculate back after ignoring 1/4 to get 21/4, giving the above mentioned natural numbers y and x. Answer = 21. See my problem "Never seen before" and its solution.

Trevor Arashiro
Mar 15, 2015

(I forgot to hashtag it so I'm putting it here. Lol) #easymoney

Anyway, here's the solution, it's a little bashy

This is all a game is strategical estimation.

Begin with 19 100 \frac{19}{100}

To reduce this, we add ± 1 \pm 1 to the numerator and get 20 100 \frac{20}{100} and 18 100 \frac{18}{100} this increases the value.

Now we have to check cases.

Simplifying and rounding, we will use two techniques. Adding ± 1 \pm 1 to the numerator/denominator and simplifying by dividing through by a common factor. We have to check

10 50 , 5 25 , 4 20 and 9 50 \frac{10}{50}, \frac{5}{25}, \frac{4}{20}~~ \text{and}~~ \frac{9}{50}

From the first three, they are too large, so we have to either add one to the denominator or subtract one from the numerator. Visa versa for the second.

( 10 51 , 5 26 , 4 21 , 9 49 ) , ( 9 50 , 4 25 , 3 20 , 11 50 ) \left(\frac{10}{51}, \frac{5}{26}, \frac{4}{21}, \frac{9}{49}\right), ~~ \left(\frac{9}{50},\frac{4}{25},\frac{3}{20},\frac{11}{50}\right)

Using a calculator, we can start working with the smallest denominator (this way we don't have to check them all. After checking the two smallest, 4 21 19.04 % \frac{4}{21}\approx 19.04\% .

Checking all cases less than this for extra measure.

3 16 = 18.75 % \frac{3}{16}=18.75\%

3 15 = 20 % \frac{3}{15}=20\%

2 11 = 18.18 % \frac{2}{11}=18.18\%

2 10 = 20 % \frac{2}{10}=20\%

1 6 = 16.67 % \frac{1}{6}=16.67\%

1 5 = 20 % \frac{1}{5}=20\%

Since 4 21 \frac{4}{21} is the smallest that works, our answer is 21 \boxed{21}

Here's my approach:

Denote by s , v s,v the total number of solvers and viewers respectively. We then have,

s v × 100 = 19 100 s v [ 19 , 20 ) s [ 0.19 v , 0.20 v ) \left\lfloor \frac{s}{v}\times 100\right\rfloor=19\\ \implies \frac{100s}{v}\in [19,20)\\ \implies s\in [0.19v,0.20v)

Now, here's the catch. Since s s and v v must be positive integers, we need to find the minimum positive integer v v such that s Z + s [ 0.19 v , 0.20 v ) \exists s\in\mathbb{Z^+}\mid s\in [0.19v,0.20v) .

We find the following pattern, since there is no closed upper bound and only a closed lower bound and there isn't much of a difference between 0.19 0.19 and 0.20 0.20 , for minimum v v , we must have,

0.19 v = 0.20 v \left\lceil 0.19v\right\rceil=\left\lfloor0.20v\right\rfloor

A bit more observation lead me to the result that we must have the minimum value of v v of the form v = 1 + 5 k for some k Z v=1+5k\textrm{ for some }k\in\mathbb{Z} .

Now, trial and error gives us the value v m i n = 1 + 5 × 4 = 21 v_{min}=1+5\times 4=\boxed{21}

Prasun Biswas - 6 years, 3 months ago

Log in to reply

very nice approach. Flipping the ceiling/floor sign, never knew you could do that.

Trevor Arashiro - 6 years, 3 months ago

Log in to reply

In general, you can't. It works here because 0.19 v 0.19v and 0.20 v 0.20v can have an integer between them (for small positive integer n n ) iff they satisfy the above equation (floor-ceiling one).

For larger values of n n that can be an answer to this problem, the equation (floor-ceiling one) will not hold.

Prasun Biswas - 6 years, 3 months ago

By the way, this is a very nice problem and if I recall correctly, there is a very old problem (almost 1 year old) from the community that is almost identical to this one. But I think there's a slight variation in this one.

Prasun Biswas - 6 years, 3 months ago

Log in to reply

I wasn't even around brilliant 8 months ago

Trevor Arashiro - 6 years, 3 months ago

Log in to reply

Lol, I still remember the old version of this one (though not completely). I think it was my first high rated NT problem (or maybe it was Algebra, Idk) that I solved. :D

Prasun Biswas - 6 years, 3 months ago
David Holcer
Mar 18, 2015
1
2
3
4
5
6
7
from math import *
found=False
for i in range(1,101):
    for j in range(1,i+1):
        if floor((j/float(i))*100)==19 and not found:
            print i
            found=True

:)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...