[na1+n(n-1)d/2]/[2na1+2n(2n-1)d/2],分离常数即可做.
1/2-(n^2d)/4(na1+n^2d-nd/2)=1/2-[1/4-(a1-d/2)n/4(na1+n^2d-nd/2)]
所以a1=d/2或d=0