How to Use Proof by Induction for 24|2*7^n+3*5^n-5

In summary, In order to prove 24|2*7^n+3*5^n-5=14+15-5=24, one must first prove that 2*7^n+3*5^n-5=14+15-5 for all n even. Then, given that n is odd, the result is also immediate.
  • #1
kathrynag
598
0
Prove 24|2*7^n+3*5^n-5


I showed true for n=1:
2*7+3*5-5=14+15-5=24
Thus divisible by 24
Assume true for all k>=1. Need to prove true for n=k+1
Then 2*7^(k+1)+3*5^(k+1)-5=14*7^k+15*5^k-5
I get this far and now I get stuck simplifying enough to show it's true
 
Physics news on Phys.org
  • #2
2*7*7^k+3*5*5^k-5
[2*7^k+3*5^k-5]+7*7^k+5*5^k
 
  • #3
Instead of using induction try a simple congruence argument.

24 divides 2(7)^n + 3(5)^n - 5 iff 2(7)^n + 3(5)^n = 5 mod 24

Now if n is even this is true since 7^2 = 5^2 = 1 mod 24

If is n is odd the result is also immediate.
 
  • #4
kathrynag said:
2*7*7^k+3*5*5^k-5
[2*7^k+3*5^k-5]+7*7^k+5*5^k
Hi Kathryn.

[tex]2\cdot 7\cdot 7^k+3\cdot 5\cdot 5^k-5=2\cdot \left(1+6\right)\cdot 7^k+3\cdot \left(1+4\right)\cdot 5^k-5[/tex]
     [tex]=\left(2\cdot 7^k+3\cdot 5^k-5\right)+2\cdot \left(6\right)\cdot 7^k+3\cdot \left(4\right)\cdot 5^k[/tex]

     [tex]=\left(2\cdot 7^k+3\cdot 5^k-5\right)+12\left( 7^k+ 5^k\right)[/tex]

Can you take it from here?
 
  • #5
Yep, I can see both values are divisible by 24. Thanks!
 
  • #6
SammyS said:
Hi Kathryn.

[tex]2\cdot 7\cdot 7^k+3\cdot 5\cdot 5^k-5=2\cdot \left(1+6\right)\cdot 7^k+3\cdot \left(1+4\right)\cdot 5^k-5[/tex]
     [tex]=\left(2\cdot 7^k+3\cdot 5^k-5\right)+2\cdot \left(6\right)\cdot 7^k+3\cdot \left(4\right)\cdot 5^k[/tex]

     [tex]=\left(2\cdot 7^k+3\cdot 5^k-5\right)+12\left( 7^k+ 5^k\right)[/tex]

Can you take it from here?

I see that 12(7^k + 5^k) is divisible by 24 when k=1, but why does that suffice for all k>1? Don't I have to prove that?
 
  • #7
barylwires said:
I see that 12(7^k + 5^k) is divisible by 24 when k=1, but why does that suffice for all k>1? Don't I have to prove that?

I mean, the left side is divisible by 24 by induction hypothesis. Why do I get the right side for free? Or, do I?
 
  • #8
barylwires said:
I see that 12(7^k + 5^k) is divisible by 24 when k=1, but why does that suffice for all k>1? Don't I have to prove that?

[STRIKE](You're hitch-hiking on Kathryn's post.)[/STRIKE]

7^k is odd, so is 5^k. The sum of two ODDs is even, thus contains a factor of 2.

Prove it if you like, but a simple statement like that would usually suffice.
 
Last edited:
  • #9
SammyS said:
(You're hitch-hiking on Kathryn's post.)

7^k is odd, so is 5^k. The sum of two ODDs is even, thus contains a factor of 2.

Prove it if you like, but a simple statement like that would usually suffice.

That's beautiful! Thanks.
 

Related to How to Use Proof by Induction for 24|2*7^n+3*5^n-5

1. How do I know when to use proof by induction?

Proof by induction is typically used when trying to prove a statement that involves a parameter, such as n, which can take on multiple values. In this case, the statement to be proven is true for all values of n, and proof by induction allows for a step by step approach to proving the statement for each value of n.

2. What is the general process for using proof by induction?

The general process for using proof by induction is:
1. Prove the statement is true for the base case, usually n = 1.
2. Assume the statement is true for some arbitrary value of n, denoted as k.
3. Use this assumption to prove the statement is also true for n = k + 1.
4. Conclude that the statement is true for all values of n by induction.

3. How do I prove the base case for a proof by induction?

The base case is typically the simplest value of n, usually n = 1. To prove the base case, substitute n = 1 into the statement and show that it is true. This serves as the starting point for the induction process.

4. How do I prove the inductive step for a proof by induction?

The inductive step involves using the assumption that the statement is true for some arbitrary value of n, denoted as k, to prove that it is also true for n = k + 1. This is often done by manipulating the statement algebraically and using the assumption to show that the statement holds for n = k + 1.

5. Can proof by induction be used for all types of statements?

No, proof by induction can only be used for statements that involve a parameter, such as n, that can take on multiple values. It is not applicable for statements that are not dependent on a parameter, or for statements that are true for only a finite number of values.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
956
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
570
  • Calculus and Beyond Homework Help
Replies
8
Views
356
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
296
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
648
  • Calculus and Beyond Homework Help
Replies
30
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
252
Back
Top