Using mathematical induction, the numbers ans are defined by a0=1,an+1=3n2+n+an,(n≥0) Then, an is equal to
n3+n2+1
n3−n2+1
n3−n2
n3+n2
Given a0=1,an+1=3n2+n+an⇒a1=3(0)+0+a0=1⇒a2=3(1)2+1+a1=3+1+1=5
From option (b)
Let P(n)=n3−n2+1∴P(0)=0−0+1=1=a0,P(1)=13−12+1=1=a1and P(2)=(2)3−(2)2+1=5=a2