base = 3; n = 7;