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

In summary, the problem asks that you compute 3^n-2^n for positive integer values of n, starting at 1 and working through a handful of consecutive integers. From there, you are to make a general observation about the values and then attempt to prove it with induction.
  • #1
GeoMike
67
0
The problem asks that I compute [tex]3^n-2^n[/tex] 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, [tex]3^n-2^n[/tex] is divisible by 5.
So I worked with the idea that [tex]3^{2n}-2^{2n}[/tex] is divisible by 5 for ALL positive integers.

Using mathematical induction:

For n=1
[tex]3^{2(1)}-2^{2(1)} = 5[/tex]

For k
[tex]3^{2k}-2^{2k}[/tex]

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

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

Thus [tex]3^{2n}-2^{2n}[/tex] 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
  • #2
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.
 
  • #3
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
 

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

What is "Another Proof via Induction"?

"Another Proof via Induction" is a method of mathematical proof that uses the principle of mathematical induction to show that a statement holds for all natural numbers.

How does "Another Proof via Induction" work?

The method involves two steps: the base case, where the statement is shown to hold for the first natural number, and the inductive step, where it is shown that if the statement holds for one natural number, it also holds for the next natural number.

Why is "Another Proof via Induction" useful?

"Another Proof via Induction" is useful because it provides a systematic and rigorous way to prove statements about natural numbers. It is also a powerful tool for proving statements about recursive functions.

What are the limitations of "Another Proof via Induction"?

"Another Proof via Induction" can only be used to prove statements about natural numbers. It cannot be used for statements about real numbers or other types of numbers.

Can "Another Proof via Induction" be used for all mathematical statements?

No, "Another Proof via Induction" can only be used for statements that can be expressed in terms of natural numbers. It cannot be used for statements that involve other mathematical concepts like sets or functions.

Back
Top