Victor's Level 5 Challenges - 2

Let the three sides of a triangle be integers l , m , n l,m,n with l > m > n l>m>n and satisfy the equation

{ 3 l 1 0 4 } = { 3 m 1 0 4 } = { 3 n 1 0 4 } \large \left\{\frac{3^l}{10^4}\right\}=\left\{\frac{3^m}{10^4}\right\}=\left\{\frac{3^n}{10^4}\right\}

Find the minimum perimeter of such a triangle.

Details and Assumptions :

{ x } = x [ x ] \{x\}=x-\left[x\right] and [ x ] \left[x\right] denotes the integral part of the number x x .


The answer is 3003.

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.

3 solutions

Pi Han Goh
Mar 6, 2015

This means l m n = W ( m o d 1 0 4 ) l \equiv m \equiv n = W \pmod {10^4} for some positive integer W W which we're trying to minimize.

The trick is to find the smallest value of x x such that 3 x 1 ( m o d 1 0 4 ) 3^x \equiv 1 \pmod{10^4} . By using Euler Totient Function, we have 3 4000 1 ( m o d 1 0 4 ) 3^{4000} \equiv 1 \pmod {10^4} .

This suggests that 3 2000 1 or 1 3^{2000} \equiv 1 \text{ or} -1 , considering modulo 1 0 4 10^4 . Binomial expansion, only see the last few terms: 3 2000 = ( 10 1 ) 2000 1 3^{2000} = (10 - 1)^{2000} \equiv 1 .

So 3 2000 1 3^{2000} \equiv 1 only.

Repeat. Binomial expansion: 3 1000 = ( 10 1 ) 500 ( 500 2 ) 1 0 2 500 10 + 1 1 3^{1000} = (10 - 1)^{500} \equiv { 500 \choose 2 } \cdot 10^2 - 500 \cdot 10 + 1 \equiv 1

Then, 3 1000 1 3^{1000} \equiv 1 only.

Repeat. Binomial expansion: 3 500 = ( 10 1 ) 500 ( 500 2 ) 1 0 2 500 10 + 1 1 3^{500} = (10 - 1)^{500} \equiv { 500 \choose 2 } \cdot 10^2 - 500 \cdot 10 + 1 \equiv 1

Which yields 3 500 1 3^{500} \equiv 1

Repeat. Binomial expansion:

3 250 = ( 10 1 ) 125 1 ( 125 1 ) 10 + ( 125 2 ) 1 0 2 ( 125 3 ) 1 0 3 ≢ 1 3^{250} = (10-1)^{125} \equiv 1 - { 125 \choose 1} \cdot 10 + { 125 \choose 2 } \cdot 10^2 - {125 \choose 3} \cdot 10^3 \not \equiv 1

Analogously, We can get 3 100 ≢ 1 3^{100} \not \equiv 1

Hence, the smallest value of x x is 500 500

Thus the last four digits of 3 500 n 3^{500n} is equals to 0001 0001 , for natural number n n

So the smallest three values are 3 500 , 3 1000 , 3 1500 3^{500}, 3^{1000}, 3^{1500} , but 500 + 1000 1500 500 + 1000 \not > 1500 which doesn't satisfy the triangle inequality.

The solution for ( l , m , n ) (l,m,n) is then ( 500 + Q , 1000 + Q , 1500 + Q ) (500+Q,1000+Q,1500+Q) for positive numbers Q 1 Q \geq 1

Which means the minimum l + m + n l+m+n equals ( 500 + 1 ) + ( 1000 + 1 ) + ( 1500 + 1 ) = 3003 (500+1) + (1000+1) + (1500+1) = \boxed{3003}

Thank you very much for a very detailed solution. Solved the problem almost completely but forgot that l,m and n are all sides of a triangle so my solution of 3000 was not correct=)

Anze Zupanec - 6 years, 2 months ago

I USED THE CONCEPT OF ORDER OF 3 MODULO 625 AND 16 THEY WERE 500, 4 RESPECTIVELY. SO, ORDER OF 3 MODULO 10000 IS 500 . NOW USING TRIANGLE INEQUALITY, I FOUND THAT n IS ATLEAST 501 AND THUS THIS IS SOLVED.

Please show the calculation in detail.

Prabir Chaudhuri - 6 years, 8 months ago
Adrian Neacșu
Sep 7, 2014

I simply try to see how the last digit/ last two digits... till 4 repeat. Took me a lot. I thought I could do it in c++ but it gave me an error cause it can't get to numbers that high. I used wolfram.

The main idea is to notice that 3 500 3^{500} is the smallest power of 3 other than 1 that is congruent to 1 mod 10000

Joel Tan - 6 years, 9 months ago

Log in to reply

Can you please reveal the three sides??

Sid Sid - 6 years, 8 months ago

Log in to reply

Yes please reveal three sides of triangle

Sayar Surana - 2 months, 2 weeks ago

Yes please reveal three sides

Sayar Surana - 2 months, 2 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...