Question
Mathematics Question on Relations and functions
If f(1)=1 and f(n+1)=2f(n)+1 if n≥1, then f(n) is equal to
A
2n+1
B
2n
C
2n−1
D
2n−1−1
Answer
2n−1
Explanation
Solution
f(1)=1 and f(n+1)=2f(n)+1,n≥1. ∴f(2)=2(1)+1=3,f(3)=7,f(4)=15,… and so on Thus, f(1)=21−1,f(2)=22−1, f(3)=23−1,…,f(n) =2n−1.