Theory
A geometric sequence multiplies by the same ratio r to move from one term to the next. For 3, 6, 12, 24, the common ratio is 2 because each term is twice the previous term.
Find the ratio by dividing a term by the term before it. Check more than one pair. A constant difference means an arithmetic sequence instead; a constant ratio means a geometric sequence.
If the first term is a, the nth term is a multiplied by r raised to the power n − 1. The first term uses zero copies of the ratio, so when n = 1 the value is a.
For 3, 6, 12, 24, the rule is 3 × 2⁽ⁿ⁻¹⁾. The fifth term is 3 × 2⁴ = 48. You can also multiply the fourth term by 2 as a check.
Ratios can be fractions or decimals. A sequence 80, 40, 20, 10 has ratio 1/2, not -40. This is repeated multiplication, not repeated subtraction.