5 × 3 m + 4 = n 2
Consider all possible integers n ≥ 0 such that the equation above holds true for some corresponding integer m ≥ 0 . Find the sum of all such n .
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.
WOW VARY CUL
To fill in the gap, notice that g c d ( n + 2 , n − 2 ) = g cd ( 4 , n + 2 ) is a factor of 4. Since 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.
Log in to reply
Thanks. I've made the rightful changes accordingly.
Is there a proof to g c d ( a − b , a + b ) = g c d ( a + b , 2 b ) ?
Log in to reply
Can you show that g cd ( n , m ) = g cd ( n , n + m ) = g cd ( n , m − n ) ?
More generally, for any integer X, g cd ( n , m ) = g cd ( n , m + X n ) .
Check out the greatest common divisor wiki for more information :)
Problem Loading...
Note Loading...
Set Loading...
( 5 × 3 m ) + 4 = n 2 ⟹ ( 5 × 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 ) (as gcd ( a + b , a − b ) = gcd ( a + b , 2 b ) ), here, 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 ⟹ n = 7
We can check that
n = 3 → 5 × 3 m = 5 ⟹ m = 0 ( m : m ∈ Z , m ≥ 0 )
n = 7 → 5 × 3 m = 4 5 ⟹ m = 2 ( m : m ∈ Z , m ≥ 0 )
Thus the sum is 3 + 7 = 1 0 .