Find a formula for the general term of each of the following sequences, assuming that the pattern of the first few given terms continues {0,1,3,7,15.......}​