How do you determine whether the infinite sequence a_n=(-1)^nan=(1)n converges or diverges?