Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2022
Questions

Q41

MSQ2 marksCombinatorics

Consider the following recurrence:

f(1)=1;f(2n)=2f(n)−1,  for  n≥1;f(2n+1)=2f(n)+1,  for  n≥1.\begin{array}{} f(1) & = & 1; \\ f(2n) & = & 2f(n) - 1, & \; \text{for}\; n \geq 1; \\ f(2n+1) & = & 2f(n) + 1, & \; \text{for}\; n \geq 1. \end{array}

Then, which of the following statements is/are TRUE?\text{TRUE}?

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.