Express the number of ring moves needed to solve the Tower of Hanoi problem with 3 poles as a function of n.
a) n
b) 2ⁿ - 1
c) n²
d) 3n