Aufgabe in Englisch:
The series 1-2+3-4+5-6+... continues in the same way to "n" terms.
Find the value of S17 + S33 +S55, where Sn means the sum of the first "n" terms.
1-2+3-4+5-6+7-8+9-10+11-12+13
= (1-2)+(3-4)+(5-6)+(7-8)+(9-10)+(11-12)+13
= (-1) + (-1) + (-1) + (-1) + (-1) + (-1) +13
= (-1)·(13-1)/2 + 13
1-2+3-4+5-6+7-8+9-10+11-12+13-14
= (1-2)+(3-4)+(5-6)+(7-8)+(9-10)+(11-12)+(13-14)
= (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1) + (-1)
= (-1)·14/2
wenn s[0]=0 und s[1]=1, dann gilt für die Partitionssumme
s[n]= ∑ k*(-1)^{k+1},k=1...n =(1-2*pow(-1,n)*n-pow(-1,n))/4 = 1/4 - (-1)^n *(2*n + 1)/4
Der Iterationsrechner zeigt die Richtigkeit und die Summe dieser 3 Teilsummen in Variable a:
[Bild im Archiv nicht verfügbar]
Zugabe: Partialsumme explizit:
[Bild im Archiv nicht verfügbar]