CAT 2019 Slot 1 — QA Question 19
Basics (Functions)Easy
For any positive integer n, let f(n) = n(n + 1) if n is even, and f(n) = n + 3 if n is odd. If m is a positive integer such that 8 f(m + 1) − f(m) = 2, then m equals
Answer & solution
Answer: 10
Solution
Easy
has two rules depending on parity, so split on whether is odd or even. In each case flips parity, so pick the matching rule for and . One case yields no positive integer; the other does.
1
Case odd. Then is even, so and .
2
Reject case 1. Sum of roots and product , so both roots are negative.
3
Case even. Then is odd, so and .
4
Solve and pick the valid root. Factor the quadratic from step 3.