Fourth Version

Corrected the calculation of consecutive series