Ria writes down the numbers in red and blue pens. The largest blue number is equal to the number of numbers written in blue, and the smallest red number is equal to half the number of numbers written in red. How many numbers did Ria write with a red pen?
Hint 1: Let be the number of red numbers and be the number of blue numbers. Note .
Hint 2: Since the largest blue number is , all numbers from to 101 must be red. Find the smallest red number in terms of .
Hint 3: Set and solve for using .
Let be the number of red numbers, and be the number of blue numbers.
Since the total numbers written is 101, we have:
Let the largest blue number be and the smallest red number be .
From the problem, the largest blue number equals the count of blue numbers:
The smallest red number equals half the count of red numbers:
Since is a positive integer, must be an even number.
Now, consider the distribution of the numbers. All blue numbers are at most . Thus, all numbers larger than must be written in red.
The numbers larger than are . There are exactly such numbers.
Therefore, the red numbers must be exactly the set of numbers from to .
The smallest red number in this set is .
Substitute and :
Therefore, Ria wrote numbers with a red pen.
Ready to track your progress and master these topics?
Create a free account