We need to find the sum of all possible integral values of n such that the sum of coefficients of all positive powers of x in (xn+x52)7 is 939.
The general term of the expansion is Tr+1=(r7)(xn)7−r(x52)r=(r7)⋅2r⋅xn(7−r)−5r, so the power of x in this term is 7n−r(n+5). For this exponent to be positive we require 7n−r(n+5)>0⟹r<n+57n.
Since the coefficient of Tr+1 is (r7)⋅2r, we need ∑r=07n−r(n+5)>07(r7)⋅2r=939. Computing gives ∑r=04(r7)⋅2r=1+14+84+280+560=939, so exactly r=0,1,2,3,4 produce positive powers and r=5 is the first to give a non-positive power.
Hence for r=4 we need 7n−4(n+5)=3n−20>0⟹n>320⟹n≥7, while for r=5 we require 7n−5(n+5)=2n−25≤0⟹n≤12 (when n=12: 2(12)−25=−1<0 ✓; when n=13: 2(13)−25=1>0 ×). Therefore n∈{7,8,9,10,11,12}.
Summing these values yields 7+8+9+10+11+12=57.
The correct answer is 57.