Hello, nisbahmumtaz!

(1) and (3) are oscillating sequences.

There are several ways to express the general term.

I'll show you one of them.

Consider the expression: .

. . I call it the "blinker" function.

This sequence oscillates between 8 and 4.

The general term is: .