Correct option is D
Given:Given that a=b and a,b>0, andan+bnan+2+bn+2=abConcept used:We will solve this question by putting all the values from options in the given equation.Solution:If we put n=−1 in the given equation, then we geta−1+b−1a−1+2+b−1+2=a1+b1a+b=aba+ba+b=a+b(a+b)ab=abwhich is our right-hand side.Hence n=−1.
Final Answer: -1.