how do you know if it is an arithmetic or a geometric sequence