Find a, b and n in the expansion of (a + b)n if the first three terms of the expansion are 729, 7290 and 30375, respectively.