Let S(n) be the sum of the first n terms of the sequence 1, 3, 7, 15, ..., where each term is obtained by doubling the previous term and adding 1.
Which of the following statements is true?
S(n) is an even number for all positive integers n.
S(n) is an odd number for all positive integers n.
S(n) is an even number if n is odd, and an odd number if n is even.
S(n) is an odd number if n is odd, and an even number if n is even.
We will use the principle of mathematical induction to solve this problem.
The given sequence can be re-written as:
This sequence is a sequence of odd numbers.
----------(1)
When n=1, then S(1) = 1, which is an odd number.
Hence, equation (1) is true for n = 1.
Now assume that the equation is true for some natural number k.
So, S(k) is an odd number if k is odd, and an even number if k is even.
----------(2)
Now, consider the sum S(k+1).
We need to show that S(k+1) is an odd number if k+1 is odd, and an even number if k+1 is even.
This sum can be written as:
Using the induction hypothesis, we know that S(k) is odd if k is odd, and even if k is even. Therefore, 2S(k) is even, and adding 1 to an even number gives an odd number.
Therefore, S(k+1) is odd if S(k) is even, and even if S(k) is odd.
Hence, we can conclude that S(n) is an odd number if n is odd, and an even number if n is even.
Study 40% syllabus and score up to 100% marks in JEE