a=(x+3)n−1
r=x+3x+2
S=a⋅1−r1−rn
S=(x+3)n−1⋅1−x+3x+21−(x+3x+2)n
1−x+3x+2=x+3(x+3)−(x+2)=x+31
1−(x+3x+2)n=(x+3)n(x+3)n−(x+2)n
S=(x+3)n−1⋅(x+3)n(x+3)n−(x+2)n⋅(x+3)=(x+3)n−(x+2)n
To find the sum of all coefficients of a polynomial f(x), we substitute x=1
∑r=0nαr=S(1)=(1+3)n−(1+2)n=4n−3n
This is because when we substitute x=1, every term αrxr becomes just αr, so their sum equals the polynomial evaluated at x=1.
Finally, comparing 4n−3n=βn−γn with β,γ∈N, we identify
β=4 and γ=3.
β2+γ2=16+9=25