write the first five terms of the sequence. an=n2 +2​