Let f ( x ) be a polynomial such that
Also, let R ( x ) be the remainder of the division f ( x ) ÷ ( x 6 + 2 x 3 − x 2 + 1 ) and let R ( 2 ) − R ( − 2 ) = k .
Now, for all positive integers n , if g ( n ) is the number of factors of n that are positive integers, what is the value of k − g ( k ) ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Ohhh that's really neat!
Didn't think about dividing R ( x ) .
'Brilliant' solution you got there!
Impressed! ! First tell me how these ideas comes into mind ? And how many days did it take to solve it ?
Log in to reply
The necessary parts of this solution didn't take much time. But, there was another issue which did cause enough trouble for me. You may want to look at this discussion thread. Stuck in Remainders!
From f ( x ) = ( x 3 + x + 1 ) Q 1 ( x ) + 3 , we can get
( x 3 − x + 1 ) f ( x ) = ( x 3 + x + 1 ) ( x 3 − x + 1 ) Q 1 ( x ) + 3 ( x 3 − x + 1 ) , which would be simplified as:
( x 3 − x + 1 ) f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) Q 1 ( x ) + 3 x 3 − 3 x + 3 ⋯ A
.
And from f ( x ) = ( x 3 − x + 1 ) Q 2 ( x ) + x + 1 , we can get
( x 3 + x + 1 ) f ( x ) = ( x 3 + x + 1 ) ( x 3 − x + 1 ) Q 2 ( x ) + ( x + 1 ) ( x 3 + x + 1 ) , which would be simplified as:
( x 3 + x + 1 ) f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) Q 2 ( x ) + x 4 + x 3 + x 2 + 2 x + 1 ⋯ B
.
Subtract equation A from equation B .
2 x f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) { Q 2 ( x ) − Q 1 ( x ) } + x 4 − 2 x 3 + x 2 + 5 x − 2 .
Let Q 3 ( x ) = Q 2 ( x ) − Q 1 ( x ) , and then substitute x = 0 to the above equation.
2 x f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) Q 3 ( x ) + x 4 − 2 x 3 + x 2 + 5 x − 2 ⋯ C
0 = Q 3 ( 0 ) − 2
∴ Q 3 ( 0 ) = 2 .
.
Then, according to the remainder theorem,
Q 3 ( x ) = x Q 4 ( x ) + 2 .
Substitute that to equation C .
2 x f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) { x Q 4 ( x ) + 2 } + x 4 − 2 x 3 + x 2 + 5 x − 2 ;
2 x f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) ⋅ x Q 4 ( x ) + 2 x 6 + 4 x 3 − 2 x 2 + 2 + x 4 − 2 x 3 + x 2 + 5 x − 2 ;
2 x f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) ⋅ x Q 4 ( x ) + 2 x 6 + x 4 + 2 x 3 − x 2 + 5 x .
.
Now let's divide both sides by 2 x .
f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) ⋅ 2 Q 4 ( x ) + 2 1 ( 2 x 5 + x 3 + 2 x 2 − x + 5 ) .
∴ R ( x ) = 2 1 ( 2 x 5 + x 3 + 2 x 2 − x + 5 ) ;
2 R ( x ) = 2 x 5 + x 3 + 2 x 2 − x + 5
.
2 R ( 2 ) = 8 3 , 2 R ( − 2 ) = − 5 7
2 R ( 2 ) − 2 R ( − 2 ) = 8 3 − ( − 5 7 ) = 1 4 0
∴ k = R ( 2 ) − R ( − 2 ) = 7 0
.
7 0 = 2 × 5 × 7 . So, there are 8 factors of 7 0 that are natural numbers.
∴ k − g ( k ) = 7 0 − 8 = 6 2
x cancellation is awesome!
I use this x 6 + 2 x 3 − x 2 + 1 1 = 2 1 ( x 3 + x + 1 x 2 + 1 − x 3 − x + 1 x 2 − 1 )
Log in to reply
Log in to reply
Sure,
f ( x ) = ( x 3 + x + 1 ) Q 1 ( x ) + 3
f ( x ) = ( x 3 − x + 1 ) Q 2 ( x ) + x + 1
f ( x ) = ( x 6 + 2 x 3 − x 2 + 1 ) Q 3 ( x ) + R ( x )
Using equation above,
2 f ( x ) = ( x 2 + 1 ) ( x 3 − x + 1 ) f ( x ) − ( x 2 − 1 ) ( x 3 + x + 1 ) f ( x )
2 f ( x ) = ( x 2 + 1 ) ( x 3 − x + 1 ) ( x 3 + x + 1 ) Q 1 ( x ) + 3 ( x 2 + 1 ) ( x 3 − x + 1 ) − [ ( x 2 − 1 ) ( x 3 + x + 1 ) ( x 3 − x + 1 ) Q 2 ( x ) + ( x + 1 ) ( x 2 − 1 ) ( x 3 + x + 1 ) ]
Simplified gets
f ( x ) = 2 1 ( ( x 2 + 1 ) Q 1 ( x ) + ( x 2 − 1 ) Q 2 ( x ) − 1 ) ( x 6 + 2 x 3 − x 2 + 1 ) + x 5 + 2 1 x 3 + x 2 − 2 1 x + 2 5
So let
Q 3 ( x ) = 2 1 ( ( x 2 + 1 ) Q 1 ( x ) + ( x 2 − 1 ) Q 2 ( x ) − 1 )
Then gets,
R ( x ) = x 5 + 2 1 x 3 + x 2 − 2 1 x + 2 5
After as the same as yours.
Log in to reply
@Kelvin Hong – Ooooh, nice! That's really neat!
Log in to reply
@Boi (보이) – Thanks~ but I did a really trivial mistake so I can just post my solution here...
Problem Loading...
Note Loading...
Set Loading...
We can write the polynomial f ( x ) in the following way, f ( x ) = Q ( x ) ( x 3 + x + 1 ) ( x 3 − x + 1 ) + R ( x ) Now, R ( x ) is a polynomial of degree 5 at most. And, it leaves a remainder of 3 and x + 1 when divided by x 3 + x + 1 and x 3 − x + 1 respectively. So, R ( x ) can be written as, R ( x ) = ( A x 2 + B x + C ) ( x 3 + x + 1 ) + 3 and, R ( x ) = ( D x 2 + E x + F ) ( x 3 − x + 1 ) + x + 1 Equating the above two equations we get, A = D = 1 ; B = E = 0 ; C = − 2 1 and, F = 2 3 So, R ( x ) = ( x 2 − 2 1 ) ( x 3 + x + 1 ) + 3 or, R ( x ) = x 5 + 2 1 x 3 + x 2 − 2 1 x + 2 5 Now, R ( 2 ) − R ( − 2 ) = 3 9 + 2 5 − ( − 3 1 + 2 5 ) = 7 0 and, 7 0 = 2 × 5 × 7 . Hence, g ( 7 0 ) = 2 3 = 8 . Therefore, the answer is 7 0 − g ( 7 0 ) = 7 0 − 8 = 6 2 .