Determine the smallest positive integer n , for which 3 n leaves the remainder 3 on dividing by 1000, the quotient being positive.
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.
@Satvik Golechha Fix the problem!
Log in to reply
And yes, nice problem and nice gif. I love pokemon(and that was quite nostalgic) :(
*I used to see pokemon but now, no time and no pokemon even.
Log in to reply
It comes at 4PM everyday on Pogo. I never miss it. :D
@Kartik Sharma Thanks. The problem, though, has already been fixed of that error. I think I set it at level 4, and it presumably got to level 5 due to only 6 solvers.
Log in to reply
Hmm, and now it has doubled. Well, so close to 1000! Wow! Congrats!
If allowed to use calculator as in other solutions, i have more easy solution:-
first of all, we'll get the pattern of last digit of 3 n ,
3 1 = 3
3 2 = 9
3 3 = 2 7
3 4 = 8 1
3 5 = 2 4 3
So the pattern is 3 , 9 , 7 , 1 , so to get 3 n − 3 divisible by 1000 we must have 003 as last digit,
hence n m o d 4 = 1 , or n can be 5 or 9 or 13 or 17 or 21.............
on calculation we get that when n is 2 1 o r 4 1 o r 6 1 we get the number as _ _ _ 203(for n=21) or _ _ _ 403(for n=41) or .......... hence to make the last digits _ __ 003 n minimum n should be 1 0 1 . Author, please fix the question as 1 can be also possible.
I've written the the quotient must be positive. Hence, the problem is not incorrect. Thanks.
Problem Loading...
Note Loading...
Set Loading...
Well, first of all overrated!(it is level 5)
Secondly, 1 is also a positive integer. @Satvik Golechha
Now, let's try to find what we require.
3 n = 3 m o d 1 0 0 0
3 n − 1 = 1 m o d 1 0 0 0 ⇒ 3 x = 1 m o d 1 0 0 0
Now, of course we know by Euler's formula that 3 ∗ ∗ 4 0 0 = 1 m o d 1 0 0 0 as ϕ ( 1 0 0 0 ) = 4 0 but we don't know if this is the order of 3 modulo 1000.
Hence, we need to find the order of 3 modulo 1000.
With the help of some calculations, we find that
3 1 0 = 4 9 m o d 1 0 0 0 ⇒ 3 1 0 = 7 2 m o d 1 0 0 0
Therefore, we actually need to find the order of 49 modulo 1000.
Let us have a look at B = 7 y m o d 1 0 0 0 for some values of y.
y = 1 , B = 7
y = 2 , B = 4 9
y = 3 , B = 3 4 3
y = 4 , B = 4 0 1
y = 5 , B = 8 0 7
y = 6 , B = 6 4 9
y = 7 , B = 5 4 3
y = 8 , B = 8 0 1 and so on.
Hence, we can see a pattern following here that 4 is added on every 4th number from the preceding term. Like B 4 = 4 0 1 , B 8 = 8 0 1 , B 1 2 = 2 0 1 , B 1 6 = 6 0 1 , B 2 0 = 0 0 1
Hence, 20 is the order of the 7 modulo y, or 10 is the order of 49 modulo y.
As a result 1 0 ∗ 1 0 = 1 0 0 is the order of 3 modulo 1000.
or 3 1 0 1 = 3 m o d 1 0 0 0 , n = 101(for n being all positive integers >1)