asked 162k views
2 votes
Find a closed-form formula that reproduces the sequence 1,-1, 1, -1, 1, -1, 1, ... (zero-based indexing). Check all that are correct.

asked
User Rgthree
by
8.9k points

1 Answer

6 votes

Recall that


\cos(0) = \cos(2\pi) = \cos(4\pi) = \cos(2n\pi) = 1

and


\cos(\pi) = \cos(3\pi) = \cos(5\pi) = \cos((2n+1)\pi) = -1

Then the given sequence could be written as


a_n = \cos(n\pi) = (-1)^n

answered
User MuertoExcobito
by
8.3k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.