Ria writes down the numbers $1,2,\cdots, 101$ 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 in red. How many numbers did Ria write with red pen?
1. Let \( x \) be the largest blue number. According to the problem, the number of numbers written in blue is also \( x \). Therefore, the numbers written in blue are \( 1, 2, \ldots, x \).

2. The smallest red number is \( x+1 \) because all numbers before \( x+1 \) are written in blue. 

3. The number of numbers written in red is \( 101 - x \) since there are 101 numbers in total and \( x \) of them are written in blue.

4. According to the problem, the smallest red number is equal to half the number of numbers written in red. Therefore, we have:
   \[
   x + 1 = \frac{101 - x}{2}
   \]

5. Solve the equation for \( x \):
   \[
   x + 1 = \frac{101 - x}{2}
   \]
   Multiply both sides by 2 to clear the fraction:
   \[
   2(x + 1) = 101 - x
   \]
   Simplify:
   \[
   2x + 2 = 101 - x
   \]
   Add \( x \) to both sides:
   \[
   3x + 2 = 101
   \]
   Subtract 2 from both sides:
   \[
   3x = 99
   \]
   Divide by 3:
   \[
   x = 33
   \]

6. The smallest red number is \( x + 1 = 33 + 1 = 34 \).

7. The number of numbers written in red is \( 101 - x = 101 - 33 = 68 \).

Conclusion:
\[
\boxed{68}
\]