Sn=(a1+an)*n/2
an=a1+d*(n-1)
Sn=(2a1+d*(n-1))*n/2
-264=(24n-2n^2+2n)/2
n^2-13n-264=0
D=121+1056=1225=35^2
n=(13+35)/2=24
n=24
Sn=(a1+an)*n/2
an=a1+d*(n-1)
Sn=(2a1+d*(n-1))*n/2
-264=(24n-2n^2+2n)/2
n^2-13n-264=0
D=121+1056=1225=35^2
n=(13+35)/2=24
n=24