base = 3; n = 6;