Solve for X

Given that X > 10000 X>10000 with X m o d 7 = 0 X \bmod 7 = 0 , what is the smallest value of X X ?


The answer is 10003.

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.

1 solution

Mathh Mathh
May 14, 2015

1 0 4 3 4 9 2 2 2 4 3 ( m o d 7 ) 10^4\equiv 3^4\equiv 9^2\equiv 2^2\equiv 4\equiv -3\pmod{7} , so 1 0 4 + 3 = 10003 10^4+3=\boxed{10003} .

Moderator note:

Very simple and easy to understand. Bonus question: Given that Y = 1 0 n + 1 Y = 10^n +1 for n > 4 n > 4 with Y m o d 7 = 0 Y \bmod 7 = 0 and positive integer n n , what is the smallest value of Y Y ?

Challenge Master: 1 0 4 10 1 0 3 3 1 0 3 3 ( m o d 7 ) 10^4\equiv 10\cdot 10^3\equiv 3\cdot 10^3\equiv -3\pmod{7}

\stackrel{:3}\iff 10^3\equiv -1 mod 7 7 , so ord 7 ( 10 ) = 6 \text{ord}_7(10)=6 and 1 0 3 1 0 ord 7 ( 10 ) 1 0 9 1 10^3\cdot 10^{\text{ord}_7(10)}\equiv 10^9\equiv -1 mod 7 7 with 9 9 being the next least after 3 3 to satisfy 1 0 k 1 10^k\equiv -1 mod 7 7 .

Or 1 0 n 1 1 0 n 3 1 10^n\equiv -1\,\Rightarrow 10^{n-3}\equiv 1 mod 7 7 and n 3 = ord 7 ( 10 ) n = 9 n-3=\text{ord}_7(10)\iff n=9 , since n 3 0 n-3\neq 0 .

mathh mathh - 6 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...