"Fast computation of an alternating sum" - читать интересную книгу автора (Fokkink, et al.)