Question 1065481
.
<pre>
Let "n" be the number of students.

Then the number of "wishes"/letters is n*(n-1).

The equation is 

3n*(n-1) = 2610,  or

n*(n-1) = 870.

The solution is n = 30.

<U>Answer</U>. 30 students in the class.
</pre>