find the formula of the nth term of a sequence 1, -1, 1, -1, 1,...

Atah Paula's image