Proving 8 divides 1+2x3^(n-1)+5^n for all n>0

  • Thread starter mtayab1994
  • Start date
  • Tags
    Induction
In summary: And on top of that he never even showed us the induction step: n=k is true and we have to prove that n=k+1 is too.
  • #1
mtayab1994
584
0

Homework Statement


Prove that 8 divides: 1+2x3^(n-1)+5^n for every natural number : n>0Please I'm having difficulties solving this problem, i just want to understand the concept of how to solve it thank you.

I know that 8 divides: 1+2x3^(n-1)+5^n can also be written as 1+2x3^(n-1)+5^n=8k : with k being a natural number.
 
Last edited:
Physics news on Phys.org
  • #2
You want to show it by induction. Let S(n)=1+2*3^(n-1)+5^n. Is S(1) divisible by 8? Now look at S(n+1)-S(n). Can you show that's divisible by 8?
 
  • #3
I already checked for when n=1 and for that the induction is true because 8/8=1.

By the way is it written as the following?: S(n+1)-S(n)=1+2*3^(n-1)(3)+5^n(5)-S(n)
 
  • #4
mtayab1994 said:
I already checked for when n=1 and for that the induction is true because 8/8=1.

By the way is it written as the following?: S(n+1)-S(n)=1+2*3^(n-1)(3)+5^n(5)-S(n)

If S(n)=1+2*3^(n-1)+5^n then to get S(n+1) just substitute n+1 for n in S(n). Now take the difference S(n+1)-S(n).
 
  • #5
mtayab1994 said:
I already checked for when n=1 and for that the induction is true because 8/8=1.

By the way is it written as the following?: S(n+1)-S(n)=1+2*3^(n-1)(3)+5^n(5)-S(n)

Your way of writing it is ok too. Now just put in S(n).
 
  • #6
alright i'll try that and see what i get.
 
  • #7
After trying S(n+1)-S(n) i got the following:

2*3^n+5^(n+1)-2*3^(n-1)-5^n
 
  • #8
mtayab1994 said:
After trying S(n+1)-S(n) i got the following:

-2+2*3^n+5^(n+1)-3^(n-1)-5^n

First correct a couple of errors before you simplify. Where did the '-2' in front come from? Can you find the other error?
 
  • #9
Dick said:
First correct a couple of errors before you simplify. Where did the '-2' in front come from? Can you find the other error?
Sorry i typed it in wrong then i fixed it i got
2*3^n+5^(n+1)-2*3^(n-1)-5^n
 
  • #10
mtayab1994 said:
Sorry i typed it in wrong then i fixed it i got
2*3^n+5^(n+1)-2*3^(n-1)-5^n

Ok, now start trying to write that in a factored form. Combine the two powers of 3. Do the same for the two powers of 5.
 
  • #11
Dick said:
Ok, now start trying to write that in a factored form. Combine the two powers of 3. Do the same for the two powers of 5.

alright i factored out the powers with 5 and i got 5^n(5-1) but I'm having troubles factoring out the one's with 3's because one is multiplied by '2' and the other by '-2'
 
  • #12
mtayab1994 said:
alright i factored out the powers with 5 and i got 5^n(5-1) but I'm having troubles factoring out the one's with 3's because one is multiplied by '2' and the other by '-2'

Why would that be a problem? Just pull out the common factors of 2 and 3^(n-1)...
 
  • #13
Dick said:
Why would that be a problem? Just pull out the common factors of 2 and 3^(n-1)...

what i got was 2(3^n)-2(3^(n-1))+5^n(5-1)
 
  • #14
mtayab1994 said:
what i got was 2(3^n)-2(3^(n-1))+5^n(5-1)

Factor the 2(3^n)-2(3^(n-1)) part. I told you what to do in the last post. And there's nothing wrong with writing 4 instead of 5-1.
 
  • #15
Dick said:
Factor the 2(3^n)-2(3^(n-1)) part. I told you what to do in the last post. And there's nothing wrong with writing 4 instead of 5-1.

ok i got 2(3^n-3^(n-1))+5^n(5-1)
 
  • #16
mtayab1994 said:
ok i got 2(3^n-3^(n-1))+5^n(5-1)

3^n=3*3^(n-1). There's still a common factor of 3^(n-1) you can pull out of the first term.
 
  • #17
Dick said:
3^n=3*3^(n-1). There's still a common factor of 3^(n-1) you can pull out of the first term.

can i write it as 2(3(3^(n-1)-3^(n-1)+5^n(4)
 
  • #18
mtayab1994 said:
can i write it as 2(3(3^(n-1)-3^(n-1)+5^n(4)

Hmm. Write the first part as 2*3^(n-1)*(something). What's the something? That's what I mean by 'factor out the 3^(n-1)'.
 
Last edited:
  • #19
Dick said:
Hmm. Write the first part as 2*3^(n-1)*(something). What's the something? That's what I mean by 'factor out the 3^(n-1)'.

i'm sorry I'm getting no where because in class my teacher solves these sorts of problems by just multiplying each side or dividing each side of the equation so he can get some sort of K' which makes the induction true. This is one of the examples:

prove that 9 divides 4^n+6n-1

4(4^n+6n-1)=36k
4^(n+1)+24n-4=36k
4^(n+1)+18n+6n-9+5=36k
4^(n+1)+6n+5=36k-18k+9
4^(n+1)+6n+5=9(4k-2k+1)
4^(n+1)+6(n+1)-1=9k' and he got 9k' from 4k-2k+1
 
  • #20
mtayab1994 said:
i'm sorry I'm getting no where because in class my teacher solves these sorts of problems by just multiplying each side or dividing each side of the equation so he can get some sort of K' which makes the induction true. This is one of the examples:

prove that 9 divides 4^n+6n-1

4(4^n+6n-1)=36k
4^(n+1)+24n-4=36k
4^(n+1)+18n+6n-9+5=36k
4^(n+1)+6n+5=36k-18k+9
4^(n+1)+6n+5=9(4k-2k+1)
4^(n+1)+6(n+1)-1=9k' and he got 9k' from 4k-2k+1

And on top of that he never even showed us the induction step: n=k is true and we have to prove that n=k+1 is i had to find that all on my own.
 
  • #21
mtayab1994 said:
And on top of that he never even showed us the induction step: n=k is true and we have to prove that n=k+1 is i had to find that all on my own.

Ok, but we are getting off the track here. I'm trying to get you to show that S(n+1)-S(n)=(something)*3^(n-1)+4*5^n and what that (something) is. You got the 4 in front of the 5^n just fine. I'm not sure why are having problems with the 3^(n-1) part. And then go on from there to tell me why S(n+1)-S(n) is divisible by 8. Then try and tell me why that solves your induction problem. That's the program. You seem to be getting bogged down in the algebra part.
 
Last edited:
  • #22
Dick said:
Ok, but we are getting off the track here. I'm trying to get you to show that S(n+1)-S(n)=(something)*3^(n-1)+4*5^n and what that (something) is. You got the 4 in front of the 5^n just fine. I'm not sure why are having problems with the 3^(n-1) part. And then go on from there to tell me why S(n+1)-S(n) is divisible by 8. Then try and tell me why that solves your induction problem.

alright I'm working on that and by the way is that proof true for 9 divides 4^n+6n-1
 
  • #23
ok i got 2*3^(n-1)(3-1)+5^n(4)
 
  • #24
mtayab1994 said:
ok i got 2*3^(n-1)(3-1)+5^n(4)

then i came out with 4(3^(n-1)+5^n)
 
  • #25
mtayab1994 said:
then i came out with 4(3^(n-1)+5^n)

Good! Now you can clearly see that's divisible by 4, right? Can you give me a reason why it must also be divisible by 8?
 
  • #26
it's also divisible by 8 because 8 is a multiple of 4. So there for S(n-1)-S(n) is divisible by 8.
 
  • #27
mtayab1994 said:
it's also divisible by 8 because 8 is a multiple of 4. So there for S(n-1)-S(n) is divisible by 8.

I don't trust your reasoning there. 3*4 is a multiple of 4. But it's not a multiple of 8. Is 3^(n-1) odd or even? Same question for 5^n.
 
  • #28
yea i found the answer:
3^(n-1) is odd and so is 5^n and the sum of two odd numbers is an even number so therefore 8 divides any number 4k' for k' is an even number.
 
  • #29
mtayab1994 said:
yea i found the answer:
3^(n-1) is odd and so is 5^n and the sum of two odd numbers is an even number so therefore 8 divides any number 4k' for k' is an even number.

Right. And you see how that makes the induction work, yes?
 
  • #30
Dick said:
Right. And you see how that makes the induction work, yes?

Yes thank you for your help. I really appreciate it.
 

1. What does it mean for 8 to divide a mathematical expression?

When we say that 8 divides a mathematical expression, it means that the expression can be evenly divided by 8 without any remainder. In other words, the expression is a multiple of 8.

2. How can we prove that 8 divides 1+2x3^(n-1)+5^n for all n>0?

To prove that 8 divides this expression for all n>0, we can use mathematical induction. First, we can show that the expression is divisible by 8 when n=1. Then, we can assume that the expression is divisible by 8 for some arbitrary value of n=k. Using this assumption, we can show that the expression is also divisible by 8 when n=k+1. This completes the proof by induction, showing that the expression is divisible by 8 for all n>0.

3. Can we use a different method to prove that 8 divides 1+2x3^(n-1)+5^n for all n>0?

Yes, there are other methods that can be used to prove this statement. For example, we could use the division algorithm to show that the remainder when dividing the expression by 8 is always 0. We could also use modular arithmetic to show that the expression is congruent to 0 mod 8 for all values of n>0.

4. Why is it important to prove that 8 divides 1+2x3^(n-1)+5^n for all n>0?

Proving that 8 divides this expression for all n>0 is important because it helps us to better understand the properties of numbers and their relationships. It also allows us to make more accurate calculations and predictions in various mathematical and scientific fields.

5. Are there any real-world applications of proving that 8 divides 1+2x3^(n-1)+5^n for all n>0?

Yes, there are many real-world applications of this proof. For example, in computer science and coding, this proof can be used to optimize algorithms and improve efficiency in calculations involving large numbers. It can also be applied in physics and engineering to accurately model and predict systems that involve exponential growth or decay.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
957
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
905
  • Precalculus Mathematics Homework Help
Replies
11
Views
4K
  • Precalculus Mathematics Homework Help
Replies
10
Views
612
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
1K
Back
Top