FunctionsmediumFree

Functions — JEE Maths practice question

JEE Maths question with a full step-by-step solution.

Question
Let ff be defined on the natural numbers as follows: f(1)=1f(1) = 1 and for n>1n > 1, f(n)=f(f(n1))+f(nf(n1))f(n) = f(f(n-1)) + f(n - f(n-1)). then the value of 130r=120f(r)\dfrac{1}{30}\displaystyle\sum_{r=1}^{20} f(r).
Solution
Answer: 7
Step 1: Show f(n)=nf(n) = n for all nn Using the recurrence with f(n1)=n1f(n-1) = n-1:
f(n)=f(n1)+f(n(n1))=f(n1)+f(1)=(n1)+1=nf(n) = f(n-1) + f(n-(n-1)) = f(n-1) + f(1) = (n-1)+1 = n
Verified: f(2)=f(f(1))+f(2f(1))=f(1)+f(1)=2f(2) = f(f(1))+f(2-f(1)) = f(1)+f(1) = 2, f(3)=f(2)+f(1)=3f(3) = f(2)+f(1) = 3, and so on. Step 2: Evaluate the sum
130r=120f(r)=130r=120r=13020×212=21030=7\frac{1}{30}\sum_{r=1}^{20} f(r) = \frac{1}{30}\sum_{r=1}^{20} r = \frac{1}{30}\cdot\frac{20 \times 21}{2} = \frac{210}{30} = 7
Answer: 7
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.