Is 3^n - 2^n Divisible by 5 for Even n?

  • Thread starter Thread starter GeoMike
  • Start date Start date
  • Tags Tags
    Induction Proof
AI Thread Summary
The discussion centers on whether the expression 3^n - 2^n is divisible by 5 for even positive integers n. Initial calculations show that for n values from 1 to 9, the expression is divisible by 5 when n is even. The user attempts to prove this through mathematical induction, starting with n=1 and generalizing for k and k+1. A more straightforward approach is suggested, highlighting that the terms can be simplified to demonstrate divisibility by 5 without unnecessary complexity. The proof is ultimately validated, confirming that 3^(2n) - 2^(2n) is divisible by 5 for all positive integers n.
GeoMike
Messages
64
Reaction score
0
The problem asks that I compute 3^n-2^n for positive integer values of n, starting at 1 and working through a handful of consecutive integers.
From there I am to make a general observation about the values and then attempt to prove it with induction.

So I found the values:
n=1, 3^1-2^1 = 1
n=2, 3^2-2^2 = 5
n=3, 3^3-2^3 = 19
n=4, 3^4-2^4 = 65
n=5, 3^5-2^5 = 211
n=6, 3^6-2^6 = 665
n=7, 3^7-2^7 = 2059
n=8, 3^8-2^8 = 6305
n=9, 3^9-2^9 = 19171

From this I made the observation that for even values of n, 3^n-2^n is divisible by 5.
So I worked with the idea that 3^{2n}-2^{2n} is divisible by 5 for ALL positive integers.

Using mathematical induction:

For n=1
3^{2(1)}-2^{2(1)} = 5

For k
3^{2k}-2^{2k}

For k+1
3^{2(k+1)}-2^{2(k+1)}
= 3^{2(k+1)}-2^{2(k+1)} -3^{2k} +3^{2k} -2^{2k} +2^{2k}
= 3^{2k}(3^2-1) - 2^{2k}(2^2-1) + (3^{2k} -2^{2k})
The 3rd term is case k, assumed to be divisible by 5

Working with the remaining terms:
3^{2k}(8) - 2^{2k}(3)
= 3^{2k}(8) - 2^{2k}(3) + 2^{2k}(5) - 2^{2k}(5)
= 3^{2k}(8) - 2^{2k}(8) + 2^{2k}(5)
= 8(3^{2k} - 2^{2k}) + 5(2^{2k})
The first term has case k as a factor, and the second term has 5 as a factor, making both divisible by 5

Thus 3^{2n}-2^{2n} is divisible by 5 for all positive integers


Does this look valid?
Any way to clean it up?

Thanks in advance for your time!
GM
 
Last edited:
Physics news on Phys.org
What you've done is valid but somewhat more complicated than is necessary. Notice that 32(k+1)= 32k+2= 9(32k) and that 22(k+1)= 22k+2= 4(22k). And, of course, 9- 4= 5.
 
HallsofIvy said:
What you've done is valid but somewhat more complicated than is necessary. Notice that 32(k+1)= 32k+2= 9(32k) and that 22(k+1)= 22k+2= 4(22k). And, of course, 9- 4= 5.
So:
9(32k) - 4(22k)
5(32k) + 4(32k) - 4(22k)
5(32k) + 4(32k - 22k), both divisible by 5
Yeah, that is much simpler.
I seem to have a gift for missing the obvious and making more work for myself. :-p
Thanks again!
GM
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top