1. Set up the summation equation from the given recurrence relation.
Rearranging the given relation:
ur−ur−1=r3+(21)r
Summing both sides from r=1 to n:
∑r=1n(ur−ur−1)=∑r=1n[r3+(21)r]
2. Evaluate the left-hand side using the method of differences.
∑r=1n(ur−ur−1)=(u1−u0)+(u2−u1)+⋯+(un−un−1)
=un−u0
Since u0=2,
∑r=1n(ur−ur−1)=un−2
3. Evaluate the right-hand side using the given formula and the sum of a geometric series.
∑r=1n[r3+(21)r]=∑r=1nr3+∑r=1n(21)r
=4n2(n+1)2+1−2121[1−(21)n]
=4n2(n+1)2+1−(21)n
4. Equate both sides to find the explicit formula for $u_n$.
un−2=4n2(n+1)2+1−(21)n
un=4n2(n+1)2+3−(21)n
答案un=4n2(n+1)2+3−(21)n