Maths Olympiad Prep

Library / /213 of 520

Algebra Difficulty 3.1 AMC 10/12 Find the answer

Given a sequence {an}\{a_n\} whose sum of the first nn terms is Sn=n2+n+1S_n=n^2+n+1, find the general formula for the sequence {an}\{a_n\}.

A number or a short expression. Spacing and $ signs are ignored.

Solution

When n=1n=1, we have a1=S1=1+1+1=3a_1=S_1=1+1+1=3.

For n2n\geqslant 2, we have an=SnSn1=n2+n+1[(n1)2+(n1)+1]=2na_n=S_n-S_{n-1}=n^2+n+1-[(n-1)^2+(n-1)+1]=2n.

Therefore, when n=1n=1, it does not satisfy the above formula.

Thus, the general formula for the sequence {an}\{a_n\} is an={3,n=12n,n2a_n= \begin{cases} 3, & n=1 \\ 2n, & n\geqslant 2 \end{cases}.

Hence, the answer is: an={3,n=12n,n2a_n= \begin{cases} 3, & n=1 \\ 2n, & n\geqslant 2 \end{cases}.

By using "When n=1n=1, a1=S1a_1=S_1; for n2n\geqslant 2, an=SnSn1a_n=S_n-S_{n-1}", we can derive the solution.

This problem examines the relationship between the sum formula of the first nn terms of a sequence and its general term formula. Mastering "When n=1n=1, a1=S1a_1=S_1; for n2n\geqslant 2, an=SnSn1a_n=S_n-S_{n-1}" is key to solving the problem.

Therefore, the final answer is an={3,n=12n,n2\boxed{a_n= \begin{cases} 3, & n=1 \\ 2n, & n\geqslant 2 \end{cases}}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.