determine whether the sequence is convergent or divergent calculator