Proving Congruence Modulo 5 for Powers of 4 and 9

AI Thread Summary
The discussion focuses on proving that 4^k + 4 * 9^k ≡ 0 (mod 5) using mathematical induction. Initial checks of small values for k suggest the statement may not hold, but participants clarify that the goal is to show it holds for all natural numbers k. The inductive step involves demonstrating that if the statement is true for k, it must also be true for k+1. Participants emphasize the importance of correctly applying induction and understanding congruences, ultimately concluding that the proof can be completed successfully. The conversation also briefly touches on the definition of modular arithmetic.
saadsarfraz
Messages
86
Reaction score
1
Hi, how would you show that 4^(k)+4 * 9^(k) \equiv 0 (mod 5)
 
Last edited:
Physics news on Phys.org
Note that 9 is congruent to 4 mod 5.
 
Checking a few small values of k shows it is not always true.
 
robert Ihnot said:
Checking a few small values of k shows it is not always true.

I'm pretty sure that it is, in fact, always true.
 
d_leet said:
I'm pretty sure that it is, in fact, always true.

It is? If we have

4^{k+4} \cdot 9^{k}

Then letting k = 0 we get

4^{0+4} \cdot 9^{0} = 256

That is certainly not 0 mod 5. Next letting k = 1 we get

4^{1+4} \cdot 9^{1} = 9216

Also not 0 mod 5?
 
Actually, what he meant was 4^k + 4*9^k \equiv 0 \text{mod} 5.

Hint. Try induction over k. You may rephrase it to: for every k \in N, there's an n \in N such that 4^k + 4*9^k = 5n.
 
Last edited:
sorry for the typo i corrected it. so if i use induction than its easy for the base case K=0 which gives me 5 congruent 0 mod 5 which is true. Now, wsalem wrote that expression using the relationship a=mn+b with b=0. Now how am I supposed to use induction for k in this case when there is also n present.
 
would really appreciate if someone could help me on this.
 
Last edited:
Define P(k) as the statement: 4^k + 4*9^k = 5n for some n \in N

For the inductive step.
Suppose P(k) hold, i.e there is an n \in N such that : 4^k + 4*9^k = 5n.
Then you need to show that P(k+1) also holds, i.e there is an m \in N such that 4^{k+1} + 4*9^{k+1} = 5m.
 
  • #10
i know how induction works but i can't figure out what specific 4^k expression do i have to add/multiply to <br /> 4^{k+1} + 4*9^{k+1} = 5m<br /> make it work for m+1.
 
  • #11
No, you are missing the point of induction here! It is k we want to run induction over, not m, so it is pointless to say "m+1". The existence of a such m is merely for the statement P(k) to hold at a particular case.

Inductive step:
Suppose P(k) holds, then 4^k = 5n - 4*9^k
Now 4^{k+1} + 4*9^{k+1} = ...

now, for P(k+1) to hold, you must show that 4^{k+1} + 4*9^{k+1} = 5*m for some integer m.
 
  • #12
sorry i didnt mean m+1. What I'm saying is that there is some expression involving k which must be multiplied on either side of the equation. I don't know what that expression is.
 
  • #13
I gave it to you in the earlier reply. Think harder, it should be quite obvious by now!
 
  • #14
You know that

4^k + 4 \cdot 9^k = 5m, k,m \in \mathbb{Z}

Now we want to show that

4^{l+1} + 4 \cdot 9^{l+1} = 5n, l, n \in \mathbb{Z}

So let's work with our expression

4^{l+1} + 4 \cdot 9^{l+1} = 4 \cdot 4^l + 4 \cdot 9 \cdot 9^l = 4 \cdot 4^l + 4 \cdot (4+5) \cdot 9^l = 4 \cdot 4^l + 4^{2} \cdot 9^l + 4 \cdot 5 \cdot 9^l = 4 \left(4^l + 4 \cdot 9^l) + 5 \cdot 4 \cdot 9^l

The first part you know is divisible by 5 from the hypothesis, the 2nd part has a factor of 5 so obviously it is too.
 
Last edited:
  • #15
I think holding the final answer to enable saadsarfraz to reach it would have been much better!
 
  • #16
NoMoreExams,
NoMoreExams said:
You know that
4^k + 4 \cdot 9^k = 5k, k \in \mathbb{Z}

This is incorrect, it is 4^k + 4 \cdot 9^k = 5m where k,m \in \mathbb{Z}
 
  • #17
Yes sorry I'll fix it
 
  • #18
ohhh, so this completes the proof. thank you so much.
 
  • #19
at wsalem. dude thanks soo much for the help but I am doing this for the first time, i don't think i could have done it on my own.
 
  • #20
No problem. But now that you have seen it done. I think you'd be better off rewriting the whole proof!

Here's another quite similar problem, for practice sake

Prove that
5^{2n} \equiv 1\mod 8

It should be routine by now!
 
  • #21
Sorry for going off topic, but may I ask what mod stands for and how it works?
 
  • #22
Mentallic, you are on topic.

a \equiv b \mod m is read "a is congruent to b modulo m". Mathematically, it means a - b = mk (or a = mk +b) for a fixed m \in \mathbf{N} and some k \in \mathbf{N}. In other words, a-b is divisible by m.
 
Last edited:
  • #23
wsalem said:
Mentallic, you are on topic.

a \equiv b \mod m is read "a is congruent to b modulo m". Mathematically, it means a - b = mk (or a = mk +b) for a fixed m \in \mathbf{N} and some k \in \mathbf{N}. In other words, a-b is divisible by m.

Thank you wsalem :smile:
 
Back
Top