Write the first 4 terms of the ff sequence
an= 2(n-1)²