Let
f(x)=a⋅x17+b⋅x16+1Given that x2−x−1 divides f(x), hence we can represent f(x) as
f(x)=(x2−x−1)⋅p(x) Eq.(1)
where p(x)=c1.x15+c2.x14+...........c15.x+c16 in which c1,c2,...c16 are constant coefficients.
On comparing both sides of Eq.(1), we see that f(x) has its constant term as +1, which can only be achieved via multiplication of x2−x−1 and p(x), if and only if constant term c16=−1
Now, f(x)=(x2−x−1)(c1.x15+c2.x14+...........c15.x−1)
As, f(x) has no terms of x, we can say c15=1
Similarly, on comparing the coefficients of f(x) and the resultant from the multiplcation of p(x) with x2−x−1, we can easily evaluate coefficients c14,c13.....b,a
On solving , we see that c14=−2,c13=3,c12=−5 and so on
which gives a pattern with alternate + and - signs and with each next terms magnitude is equal to the sum of magnitude of last two terms. whiuch is the property for Fibbonaci series.
Therefore, for magnitude
a=c1=F17 and b=c1+c2=−F16
where F16 and F17 are the sixteenth and seventeenth Fibbonaci numbers.
And sign we can adjust accordingly as the alternate sign is changing.
⇒ a=F17=1597and b=−F16=−987