In a game, there are 3 stands A,B and C in which a rod is placed in the middle of each stand and stand A consists of 8 rings of different diameters,You are to transfer all the rings from stand A to either stand B or stand C with minimun number of moves using the following rules:
1. Only move one ring at a time
2. A larger ring must never be on top of a smaller ring at any time.
How many moves are needed when stand A consist of
1. 2 rings?
2. 5 rings?
3. n rings?