Find a if a and b are integers such that x2−x−1 is a factor of ax17+bx16+1.
解析
Solution 1 (Fibonacci Numbers)
Let Fn represent the nth number in the Fibonacci sequence. Therefore,
x2−x−1=0⟹xn=Fn(x),n∈N⟹xn+2=Fn+1⋅x+Fn,n∈N.
The above uses the similarity between the Fibonacci recursion|recursive definition, Fn+2−Fn+1−Fn=0, and the polynomial x2−x−1=0.
0=ax17+bx16+1=a(F17⋅x+F16)+b(F16⋅x+F15)+1⟹(aF17+bF16)⋅x+(aF16+bF15+1)=0,x∈Q⟹aF17+bF16=0 and aF16+bF15+1=0⟹a=F16,b=−F17⟹a=987.
Solution 2 (Fibonacci Numbers)
We can long divide and search for a pattern; then the remainder would be set to zero to solve for a. Writing out a few examples quickly shows us that the remainders after each subtraction follow the Fibonacci sequence. Carrying out this pattern, we find that the remainder is
(F16b+F17a)x+F15b+F16a+1=0.
Since the coefficient of x must be zero, this gives us two equations, F16b+F17a=0 and F15b+F16a+1=0. Solving these two as above, we get that a=987.
There are various similar solutions which yield the same pattern, such as repeated substitution of x2=x+1 into the polynomial with a higher degree, as shown in Solution 6.
Solution 3 (Fibonacci Numbers: For Beginners, Less Technical)
Trying to divide ax17+bx16+1 by x2−x−1 would be very tough, so let's try to divide using smaller degrees of x. Doing x2−x−1ax3+bx2+1, we get the following systems of equations:
a+b2a+b=−1,=0.
Continuing with x2−x−1ax4+bx3+1:
2a+b3a+2b=−1,=0.
There is somewhat of a pattern showing up, so let's try x2−x−1ax5+bx4+1 to verify. We get:
3a+2b5a+3b=−1,=0.
Now we begin to see that our pattern is actually the Fibonacci Numbers! Using the previous equations, we can make a general statement about x2−x−1axn+bxn−1+1:
afn−1+bfn−2afn+bfn−1=−1,=0.
Also, noticing our solutions from the previous systems of equations, we can create the following statement:
If axn+bxn−1+1 has x2−x−1 as a factor, then a=fn−1 and b=fn.
Thus, if ax17+bx16+1 has x2−x−1 as a factor, we get that a=987 and b=−1597, so a=987.
Solution 4 (Fibonacci Numbers: Not Rigorous)
Let's work backwards! Let F(x)=ax17+bx16+1 and let P(x) be the polynomial such that P(x)(x2−x−1)=F(x).
Clearly, the constant term of P(x) must be −1. Now, we have
(x2−x−1)(c1x15+c2x14+⋯+c15x−1),
where ci is some coefficient. However, since F(x) has no x term, it must be true that c15=1.
Let's find c14 now. Notice that all we care about in finding c14 is that (x2−x−1)(⋯+c14x2+x−1)=something+0x2+something. Therefore, c14=−2. Undergoing a similar process, c13=3, c12=−5, c11=8, and we see a nice pattern. The coefficients of P(x) are just the Fibonacci sequence with alternating signs! Therefore, a=c1=F16, where F16 denotes the 16th Fibonnaci number and a=987.
Solution 5 (Fibonacci Numbers)
The roots of x2−x−1 are ϕ (the Golden Ratio) and 1−ϕ. These two must also be roots of ax17+bx16+1. Thus, we have two equations:
aϕ17+bϕ16+1=0,a(1−ϕ)17+b(1−ϕ)16+1=0.
Subtract these two and divide by 5 to get
5a(ϕ17−(1−ϕ)17)+5b(ϕ16−(1−ϕ)16)=0.
Noting that the formula for the nth Fibonacci number is 5ϕn−(1−ϕ)n, we have 1597a+987b=0. Since 1597 and 987 are coprime, the solutions to this equation under the integers are of the form a=987k and b=−1597k, of which the only integral solutions for a on [0,999] are 0 and 987. (a,b)=(0,0) cannot work since x2−x−1 does not divide 1, so the answer must be 987. (Note that this solution would not be valid on an Olympiad or any test that does not restrict answers as integers between 000 and 999).
Solution 6 (Reduces the Powers)
We are given that x2−x−1 is a factor of ax17+bx16+1, so the roots of x2−x−1 must also be roots of ax17+bx16+1.
Let x=r be a root of x2−x−1 so that r2−r−1=0, or r2=r+1. It follows that
ar17+br16+1=0.(★)
Note that
r4r8r16=(r+1)2=r2+2r+1=(r+1)+2r+1=3r+2,=(3r+2)2=9r2+12r+4=9(r+1)+12r+4=21r+13,=(21r+13)2=441r2+546r+169=441(r+1)+546r+169=987r+610.
We rewrite the left side of (★) as a linear expression of r:
(ar+b)r16+1(ar+b)(987r+610)+1987ar2+(610a+987b)r+610b+1987a(r+1)+(610a+987b)r+610b+1(1597a+987b)r+(987a+610b+1)=0=0=0=0=0.
Since this linear equation has two solutions of r, it must be an identity. Therefore, we have the following system of equations:
1597a+987b987a+610b=0,=−1.
To eliminate b, we multiply the first equation by 610 and multiply the second equation by 987, then subtract the resulting equations:
610(1597a)+610(987b)987(987a)+987(610b)=0,=−987,
from which
For simplicity, let f(x)=ax17+bx16+1 and g(x)=x2−x−1. Notice that the roots of g(x) are also roots of f(x). Let these roots be u,v. We get the system
au17+bu16+1av17+bv16+1=0,=0.
If we multiply the first equation by v16 and the second by u16 we get
u17v16a+u16v16b+v16u16v17a+u16v16b+u16=0,=0.
Now subtracting, we get
a(u17v16−u16v17)=u16−v16⟹a=u17v16−u16v17u16−v16.
By Vieta's, uv=−1 so the denominator becomes u−v. By difference of squares and dividing out u−v we get
a=(u8+v8)(u4+v4)(u2+v2)(u+v).
A simple exercise of Vieta's gets us a=987.
~bobthegod78
Solution 8 (Engineer's Induction, only use if you don't have time left)
We see that ax17+bx16+1=(x2−x−1)P(x) for some polynomial P(x). Working forwards, we notice that the constant term of P(x) must equal −1, to multiply the constant term of (x2−x−1) into 1. We can similarly continue to use this logic, by repeatedly cancelling out the middle term, and obtain the process: (x2−x−1)(−1)=−x2+x+1(x2−x−1)(−1+x)=x3−2x2+1(x2−x−1)(−1+x−2x2)=−2x4+3x3+1(x2−x−1)(−1+x−2x2+3x3)=3x5−5x4+1. By this time, you can hopefully notice that the coefficient of the xn term in P(x) is equal to (−1)n−1∗Fn, where Fn equals the nth number in the Fibonacci sequence. From here, we just need to find the coefficient of the x15 term in P(x), which happens to be F15=987. Again, try to only use Engineer's Induction when you have no other options. A rigorous proof is usually not needed, but when you have extra time, checking a solution with a rigorous method is better than worrying about your Engineer's Induction solution.