∵a2-a1=7-3=4,a3-a2=13-7=6,a4-a3=8,a5-a4=10,…,∴an=a1+(a2-a1)+(a3-a2)+…+(an-an-1)=3+4+6+…+2n=1+ n(2+2n) 2 =n2+n+1,n=1时也成立.故选:B.