[b]7.[/b] Let $a_0$ and $a_1$ be arbitrary real numbers, and let

$a_{n+1}=a_n + \frac{2}{n+1}a_{n-1}$ $(n= 1, 2, \dots)$

Show that the sequence $\left (\frac{a_n}{n^2} \right )_{n=1}^{\infty}$ is convergent and find its limit. [b](S. 10)[/b]
1. **Define the generating function:**
   Let \( A(x) = \sum_{n=0}^{\infty} a_n x^n \). This is the generating function for the sequence \( \{a_n\} \).

2. **Express the recurrence relation in terms of the generating function:**
   Given the recurrence relation \( a_{n+1} = a_n + \frac{2}{n+1} a_{n-1} \), we can write:
   \[
   \sum_{n=0}^{\infty} (a_{n+2} - a_{n+1} - \frac{2}{n+2} a_n) x^{n+2} = 0
   \]
   This simplifies to:
   \[
   A(x) - a_1 x - a_0 - x(A(x) - a_0) - 2a(x) = 0
   \]
   where \( a(x) = \sum_{n=0}^{\infty} \frac{a_n}{n+2} x^{n+2} \).

3. **Differentiate \( a(x) \):**
   We have:
   \[
   a'(x) = \sum_{n=0}^{\infty} a_n x^{n+1} = x A(x)
   \]

4. **Solve the differential equation:**
   The differential equation becomes:
   \[
   a'(x) = \frac{x}{1-x} \left( a_0 + (a_1 - a_0)x + 2a(x) \right) = \frac{x}{1-x} \left( A + Bx + 2a(x) \right)
   \]
   where \( A = a_0 \) and \( B = a_1 - a_0 \).

5. **Find the solution to the differential equation:**
   The solution to this ordinary differential equation is:
   \[
   a(x) = -\frac{A}{2} + \frac{B}{8(x-1)^2} + \frac{B}{4(1-x)} + \frac{B(1-2x)}{4} + C \cdot \frac{e^{-2x}}{(x-1)^2}
   \]

6. **Determine the constant \( C \):**
   By setting \( x = 0 \), we find:
   \[
   C = a(0) + \frac{A}{2} - \frac{5B}{8} = \frac{9a_0 - 5a_1}{8}
   \]

7. **Analyze the Laurent series:**
   The Laurent series of \( a(x) \) starts with \( \frac{1}{(1-x)^2} \), indicating that the coefficients of the power series grow linearly. Since these coefficients are \( \frac{a_n}{n+2} \), it follows that \( a_n \) grows quadratically.

8. **Find the limit:**
   The limit \( \lim_{n \to \infty} \frac{a_n}{n^2} \) is equal to the coefficient of \( \frac{1}{(x-1)^2} \) in the Laurent series:
   \[
   \lim_{n \to \infty} \frac{a_n}{n^2} = \frac{B}{8} + \frac{C}{e^2} = \frac{a_1 - a_0}{8} + \frac{9a_0 - 5a_1}{8e^2}
   \]

The final answer is \(\boxed{\frac{a_1 - a_0}{8} + \frac{9a_0 - 5a_1}{8e^2}}\)