def series(L):
    r = 0
    for b in L:
        r += integ(b)*b
    return r
Given the *worder* list, this function groups monotonic +1 sequences. 
dataset/ETHPy150Open sympy/sympy/examples/advanced/gibbs_phenomenon.py/series--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/translate/ribes_score.py/find_increasing_sequences