1–1+1–1+1–1 ⋯ = 1/2

A = 1–1+1–1+1–1⋯

1-A=1-(1–1+1–1+1–1⋯)

1-A=1–1+1–1+1–1+1⋯

1-A =A

1-A+A=A+A

1 = 2A

1/2 = A

Part of the Ramanujan Summation.