TCS
Company
f(f(n))+f(n)=2n+3.
f(0)=1.
find f(2012).
a)2011 b)2013 c)4095 d)2012
Read Solution (Total 6)
-
- as given f(f(n))+f(n)=2n+3...
n=0..thn
f(f(0))+f(0)=3..
f(1)+1=3
f(1)=2..
f(2)=3..
.
.
.
f(2012)=2013...ans... - 12 years agoHelpfull: Yes(52) No(0)
- f(0)=1
f(1)=2
f(2)=3
.
.
.
f(2012)=2013.(b)ans - 12 years agoHelpfull: Yes(6) No(0)
- ans is (B)
- 12 years agoHelpfull: Yes(2) No(3)
- 2013
looks like - 12 years agoHelpfull: Yes(1) No(1)
- f(f(n))+f(n)=2n+3
so by hit n trial
f(n)=n+1
justified by f(0)=1
hence
f(2012)=2013 - 12 years agoHelpfull: Yes(1) No(0)
- 2013.........
- 12 years agoHelpfull: Yes(0) No(1)
TCS Other Question