2. Given the sum of $2 n+1\left(n \in \mathbf{N}_{+}\right)$ consecutive positive integers is $a$, and the difference between the sum of the squares of the last $n$ numbers and the sum of the squares of the first $n$ numbers is $b$. If $\frac{a}{b}=\frac{11}{60}$, then the value of $n$ is
2.5

Let the $(n+1)$-th number be $m$. Then
$$
\begin{array}{l}
a=(2 n+1) m, \\
b=\sum_{i=1}^{n}(m+i)^{2}-\sum_{i=1}^{n}(m-i)^{2} \\
=2 m \sum_{i=1}^{n} 2 i=2 m n(n+1) . \\
\text { Hence } \frac{a}{b}=\frac{2 n+1}{2 n(n+1)}=\frac{11}{60} .
\end{array}
$$

Solving gives $n=5$ or $-\frac{6}{11}$ (discard).
