We need to find the least value n0 such that the 9th term in the binomial expansion of (3+6x)n (in increasing powers of 6x) is greatest when x=23, and then compute k+n0 where k is the ratio of the coefficient of x6 to the coefficient of x3.
Since the (r+1)-th term in the expansion of (3+6x)n is given by
Tr+1=(rn)3n−r(6x)r,
substituting x=23 yields
Tr+1=(rn)3n−r⋅6r⋅(23)r=(rn)3n−r⋅2r6r⋅3r=(rn)3n⋅2r6r=(rn)3n⋅3r=(rn)3n+r.
From this, the ratio of consecutive terms is
TrTr+1=(r−1n)3n+r−1(rn)3n+r=rn−r+1⋅3.
For the 9th term (corresponding to r=8) to be the greatest, we require both T9≥T8 and T9≥T10.
From
T8T9≥1(ratio at r=8),
we have
83(n−7)≥1⟹n≥329≈9.67⟹n≥10.
Similarly, from
T9T10≤1(ratio at r=9),
we get
93(n−8)≤1⟹n−8≤3⟹n≤11.
Hence 10≤n≤11 and the least value satisfying these inequalities is n0=10.
Next, to determine k, the ratio of the coefficient of x6 to that of x3 in (3+6x)10, note that the coefficient of xr is
(r10)310−r⋅6r.
Therefore,
Coefficient of x6=(610)⋅34⋅66,
Coefficient of x3=(310)⋅37⋅63,
and hence
k=(310)⋅37⋅63(610)⋅34⋅66=(310)(610)⋅3363=120210⋅27216=47⋅8=14.
Finally, combining these results gives
k+n0=14+10=24,
so the answer is 24.