To celebrate the new year, the Brilliant society decided to host a math contest. The results were fantastic, and Brilliant decided to award the top
students with a medal
.
For the first round, Brilliant awarded it to the top student, along with
of the remaining students (i.e.
of them).
For the second round, Brilliant awarded it to the remaining top two students, along with
of the remaining students.
This process continued, until the
award, which was awarded to the remaining top
students. However, at this point in time, there were no more medals left.
How many students won a medal? (a.k.a. what is the value of ?)
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.
Hi,
Let's consider the sequence { u m } defined by the recursive formula:
{ u 1 = 1 + 7 1 ( n − 1 ) u m = m + 7 1 ( n − ∑ j = 1 m − 1 u j − m ) f o r m = 2 , 3 , 4 , . . .
(For m ≤ k , u m represents the number of medals that was awarded in the m t h round.)
⇒ u m + 1 = 7 6 ( u m + 1 ) f o r m = 1 , 2 , 3 , . . .
Now, we construct a new sequence { v m } defined by v m = u m − 6 f o r m = 1 , 2 , 3 , . . .
⇒ v m + 1 = 7 6 v m
⇒ v m = v 1 ( 7 6 ) m − 1
We know that u k = k , so v k = k − 6 = v 1 ( 7 6 ) k − 1 . Let's call it ( 1 ) .
The problem here is to solve ( 1 ) for ( k , v 1 ) ∈ Z > 0 × Z
Though k = 1 ⇒ v 1 = − 5 satisfies the conditions, it leads to n = 1 which we don't expect here.
So we look for a value of k > 1 , ( 1 ) ⇒ v 1 = 6 k − 1 7 k − 1 ( k − 6 ) , together with g c d ( 6 , 7 ) = 1 we can deduce that 6 k − 1 k − 6 must be an integer.
However, it can be proved that 0 ≤ ∣ ∣ 6 k − 1 k − 6 ∣ ∣ < 1 f o r k ≥ 2 . Thus, the only way that v 1 is an integer is k = 6 ⇒ v 1 = 0 ⇒ v m = 0 ⇒ u m = 6 ⇒ n = 3 6