divisibility problem by muhammad dihya

x n ( x m o d 5 ) n \large x^n-(x \bmod{5})^n

Is it true that for integer x > 4 x>4 the expression above is always divisible by 5 for any positive integer n n ?

False True

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.

2 solutions

Let N = x n ( x m o d 5 ) n N = x^n - (x \bmod 5)^n . We need to show if N m o d 5 = 0 N \bmod 5 =0 for \integer x > 4 x > 4 . For integer x > 4 x > 4 , we can always express x x as x = 5 m + x m o d 5 x = 5m + x \bmod 5 , where m m is a positive integer. Then

N x n ( x m o d 5 ) n (mod 5) ( 5 m + x m o d 5 ) n ( x m o d 5 ) n (mod 5) ( x m o d 5 ) n ( x m o d 5 ) n (mod 5) 0 (mod 5) \begin{aligned} N & \equiv x^n - (x \bmod 5)^n \text{ (mod 5)} \\ & \equiv (5m+x \bmod 5)^n - (x \bmod 5)^n \text{ (mod 5)} \\ & \equiv (x \bmod 5)^n - (x \bmod 5)^n \text{ (mod 5)} \\ & \equiv \boxed{0} \text{ (mod 5)} \end{aligned}

True , N N is always divisible by 5 for all x > 4 x > 4 and n N n \in \mathbb N .

Vilakshan Gupta
Apr 1, 2018

x n ( x m o d 5 ) n x n ( x n m o d 5 ) ( x n x n ) ( m o d 5 ) 0 ( m o d 5 ) x^n - (x \mod 5)^n \equiv x^n-(x^n \mod 5) \equiv (x^n-x^n) \pmod{5} \equiv 0 \pmod{5}

Hence the result follows.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...