Looks to me like there are errors in the transformation. The sum term corresponding to the resulting equation of the proof has a wrong sign in the second summand of the left term (+ instead of -). Also in the original manuscript the right side always starts with a positive alternating series term, which is correct. In the version on the margin the sign of the first term of the right side depends on the evenness of a.