Discrete Mathematics with Applications 4th Edition

$a_n = (-1)^{n+1}$
$a_0 = (-1)^{1} = -1$ $a_1 = (-1)^{2} = 1$ $a_2= (-1)^{3} = -1$ Seeing the pattern, $a_n$ should alternate between 1, -1