A sequence is geometric only when every quotient of consecutive terms is the same.
510=2,1020=2,2040=2
So 5,10,20,40 has the constant ratio r=2. The sequence 2,4,6,8 has a constant difference instead, and in 1,4,9,16 the quotients 4/1=4 and 9/4=2.25 disagree, as do those of 3,6,10,15.