This question was asked in Ex 9.1, 2

an=n(n+2)

Ayan Hebballi's image