6 n + 8 n is divisible by 7 if:
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.
surely it should be ( 7 − 1 ) n + ( 7 + 1 ) n not ( 7 − 1 ) n + ( 8 − 1 ) n as ( 8 − 1 ) n = 8 n
Thanks. Yes you are right. I have edited it.
I didn't really understood how u got -1^n+1^n
Sorry, I didn't explain it. How it works is as follows.
8 n = ( 7 + 1 ) n
= 7 n + n ( 7 n − 1 ) + 2 n ( n − 1 ) ( 7 n − 2 ) + . . . + ( n r ) ( 7 r ) + . . . + 2 n ( n − 1 ) ( 7 2 ) + n ( 7 ) + 1
We note that except for the last term, 1 , all terms of the expression has 7 as a factor and therefore are divisible by 7 . Therefore 8 n ≡ 1 ( m o d 7 ) . Similarly, 6 n ≡ ( − 1 ) n ( m o d 7 ) .
Thank you very much
use binomial newton... :)
(7-1)^n + (7+1)^n Using Binomial Expansion: (x-1)^n + (x+1)^n The last terms (independent of 7) in the expansion of (x-1)^n and (x+1)^n are (-1)^n and 1^n respectively. If n is even then remainder left on division by 7 will be 2. If n is odd then the last terms will cancel each other out and hence the given term is divisible by seven when n is odd
I did this without modulo, although I prefer Chew-Seong's answer. Though it is trivial to answer the multiple choice by solving for n=2, I decided to see what I could do without modulo arithmetic.
6 n + 8 n =7z. Since 6 n and 8 n are both even numbers, their sum is even. Therefore, 6 n + 8 n = 2*7z = 14z. Dividing by 14, we get ( 6 n + 8 n ) / 14 = z.
This can be generalized as ( x n + y n ) / (x+y) = z. Since divisible by 7 means no remainder, this will only occur when (x+y) divides evenly. That only occurs when n is odd, because x n + y n = (x+y)(...) only when n is odd. When n is even, we cannot factor it evenly. This is a bit more general case, but it seems to answer the question.
Problem Loading...
Note Loading...
Set Loading...
6 n + 8 n = ( 7 − 1 ) n + ( 7 + 1 ) n ≡ ( − 1 ) n + 1 n ( m o d 7 )
( − 1 ) n + 1 n = 0 when n i s o d d .