We have: xn+1=xn+n−1 for all n≥1, with x1=−1
This means each term equals the previous term plus (n−1).
Let's calculate the first few terms:
x1=−1 (given)
x2=x1+(1−1)=−1+0=−1
x3=x2+(2−1)=−1+1=0
x4=x3+(3−1)=0+2=2
x5=x4+(4−1)=2+3=5
x6=x5+(5−1)=5+4=9
Key Insight: Instead of trying to find a pattern in the terms themselves, let's look at the differences between consecutive terms.
From our recurrence relation: xn+1−xn=n−1
This gives us:
- x2−x1=1−1=0
- x3−x2=2−1=1
- x4−x3=3−1=2
- x5−x4=4−1=3
- ⋮
- xn−xn−1=(n−1)−1=n−2
When we add all these differences from x2 to xn:
(x2−x1)+(x3−x2)+(x4−x3)+⋯+(xn−xn−1)=xn−x1
All the middle terms cancel out! This is called a telescoping sum.
So: xn−x1=0+1+2+3+⋯+(n−2)
The sum 0+1+2+3+⋯+(n−2) is the sum of first (n−2) natural numbers (including 0).
For our sum: 0+1+2+⋯+(n−2)=2(n−2)(n−1)
xn−x1=2(n−2)(n−1)
Since x1=−1:
xn=−1+2(n−2)(n−1)
xn=2−2+(n−2)(n−1)
xn=2(n−2)(n−1)−2
xn=2n2−3n+2−2
xn=2n2−3n=2n(n−3)
Let's check our formula with known values:
x4=24(4−3)=24×1=2
x5=25(5−3)=25×2=5
x100=2100(100−3)=2100×97=29700=4850
Therefore, x100=4850