Find the remainder when n 3 + 3 n 2 + 5 n + 3 is divided by 3
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.
The factorization shows us why the expression is always a multiple of 3.
Sir, is it possible to use long division to do this?
Log in to reply
I'm not sure. Try n − 3 n 3 + 3 n 2 + 5 n + 3 .
Log in to reply
I tried using it but I got the remainder as 72 using remainder theorem.
Log in to reply
@Arulx Z – So correct. 72 is divisible by 3. So remainder is 0.
Log in to reply
@Chew-Seong Cheong – Oh yes. You're right. I overlooked an important step.
Log in to reply
@Arulx Z – Actually just to get the answer. Since the expression f(n) has the same remainder when divided by 3 for all n. To get the solution. Just substitute n = 0, 1, 2. That was what I did before I write the solution. f(0) = 3, f(1) = 12, f(2) = 33. All divisible by 3.
n 3 + 3 n 2 + 5 n + 3 = ( n 3 + 3 n 2 + 2 n ) + ( 3 n + 3 ) =
n ( n 2 + 3 n + 2 ) + 3 ( n + 1 ) = n ( n + 1 ) ( n + 2 ) + 3 ( n + 1 ) .
Now given any 3 consecutive integers, exactly one of them will be divisible by 3 , i.e., exactly one of n , ( n + 1 ) , ( n + 2 ) is divisible by 3 , and thus the product n ( n + 1 ) ( n + 2 ) is divisible by 3 as well. Since 3 ( n + 1 ) is also divisible by 3 for any n , we see that the given polynomial is divisible by 3 for any integer n , leaving a remainder of 0 .
Even I was about to post the same solution
n 3 + 3 n 2 + 5 n + 3 = n 3 + 3 n 2 + ( 6 n − n ) + 3
= ( n 3 − n ) + 3 ( n 2 + 2 n + 1 )
= n ( n 2 − 1 ) + 3 ( n 2 + 2 n + 1 )
= ( n − 1 ) ( n ) ( n + 1 ) + 3 ( n 2 + 2 n + 1 )
Not that any number of the form ( n − 1 ) ( n ) ( n + 1 ) is divisible by 3 and also 3 ( n 2 + 2 n + 1 ) is always divisible by 3 for any n .
Therefore the remainder left is 0
Take n as 1. 1+3+5+3=12. 12 divided by 3 is 4 R0 QED.
Your solution is not at all correct.You showed that it is the answer only if n = 1 .You must explain that n can take any value.
Problem Loading...
Note Loading...
Set Loading...
n 3 + 3 n 2 + 5 n + 3 = n 3 + 3 n 2 + 3 n + 1 + 2 n + 2 = ( n + 1 ) 3 + 2 ( n + 1 ) = ( n + 1 ) ( n 2 + 2 n + 1 + 2 ) = ( n + 1 ) ( n [ n + 2 ] + 3 ) = n ( n + 1 ) ( n + 2 ) + 3 ( n + 1 )
For integer n , the term n ( n + 1 ) ( n + 2 ) is always divisible by 3 and the term 3 ( n + 1 ) is, of course, divisible by 3 .
⇒ n 3 + 3 n 2 + 5 n + 3 ≡ 0 ( m o d 3 )
Easier Solution
There is an easier solution though not as elegant.
Since f ( n ) = n 3 + 3 n 2 + 5 n + 3 gives the same remainder when divided by 3 for all n . We can get the solution just be checking for f ( n ) m o d 3 for any n , says 0 , then f ( 0 ) = 3 , therefore the remainder is 0 . Of course, we are assuming the question is correct, to check that we can try more n . f ( 1 ) = 1 2 , f ( 2 ) = 3 3 .... All are divisible by 3 .