This question was asked in Example 11
Find a8ands12ifan=n2-n

Girish KR's image