Find common ratio of geometric sequence (#430)