Dan sees the following number pattern on the chalkboard.
5, 10, 20, 40, ...
What is the rule for this pattern?