#1 Measure you Calibre

5 × 3 m + 4 = n 2 \large 5 \times 3^m + 4 = n^2

Consider all possible integers n 0 n \ge 0 such that the equation above holds true for some corresponding integer m 0 m \ge 0 . Find the sum of all such n n .

Check your Calibre


The answer is 10.

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

Tapas Mazumdar
Mar 5, 2017

( 5 × 3 m ) + 4 = n 2 ( 5 × 3 m ) = ( n + 2 ) ( n 2 ) (5 \times 3^m) + 4 = n^2 \\ \implies (5 \times 3^m) = (n+2)(n-2)

Notice that LHS has two coprime factors. In the RHS gcd ( n + 2 , n 2 ) = gcd ( 4 , n + 2 ) \text{gcd}(n+2,n-2) = \text{gcd}(4,n+2) (as gcd ( a + b , a b ) = gcd ( a + b , 2 b ) \text{gcd}(a+b,a-b) = \text{gcd}(a+b,2b) ), here, n + 2 n+2 should be odd which means that gcd is 1, hence RHS must contain both factors coprime as well.

Hence

n + 2 = 5 n = 3 n+2 = 5 \implies n=3

n 2 = 5 n = 7 n-2 = 5 \implies n=7

We can check that

n = 3 5 × 3 m = 5 m = 0 ( m : m Z , m 0 ) n=3 \to 5 \times 3^m = 5 \implies m = 0 \ (m : m \in \mathbb{Z}, m \ge 0)

n = 7 5 × 3 m = 45 m = 2 ( m : m Z , m 0 ) n=7 \to 5 \times 3^m = 45 \implies m = 2 \ (m : m \in \mathbb{Z}, m \ge 0)

Thus the sum is 3 + 7 = 10 3+7 = 10 .

WOW VARY CUL

Sahil Silare - 4 years, 3 months ago

Log in to reply

Thanks pal.

Tapas Mazumdar - 4 years, 3 months ago

To fill in the gap, notice that g c d ( n + 2 , n 2 ) = gcd ( 4 , n + 2 ) gcd(n+2, n-2) = \gcd (4, n+2) is a factor of 4. Since n + 2 n+2 is odd, hence the gcd = 1, thus they are coprime.

Note: You also have to check that the other factor is a power of 3.

Calvin Lin Staff - 4 years, 3 months ago

Log in to reply

Thanks. I've made the rightful changes accordingly.

Tapas Mazumdar - 4 years, 3 months ago

Is there a proof to g c d ( a b , a + b ) = g c d ( a + b , 2 b ) gcd(a-b,a+b) = gcd(a+b,2b) ?

Vishal Yadav - 4 years, 2 months ago

Log in to reply

Can you show that gcd ( n , m ) = gcd ( n , n + m ) = gcd ( n , m n ) \gcd (n,m) = \gcd (n, n+m) = \gcd ( n, m-n) ?

More generally, for any integer X, gcd ( n , m ) = gcd ( n , m + X n ) \gcd (n,m) = \gcd (n, m+Xn) .

Check out the greatest common divisor wiki for more information :)

Calvin Lin Staff - 4 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...