For any positive integer , let if is even, and if is odd. If is a positive integer such that , then equals
For any positive integer , let if is even, and if is odd. If is a positive integer such that , then equals
Entered answer:
Solution
We have a piecewise function that behaves differently based on whether is even or odd:
If is even:
If is odd:
We need to find the positive integer such that .
Key Insight: Since we don't know if is even or odd we need to check both possibilities.
If is odd then must be even.
because is even
because is odd
For a quadratic we can find integer solutions only if the discriminant is a perfect square.
Discriminant =
Since is not a whole number this case doesn't give us integer values for .
If is even then must be odd.
because is odd
because is even
We need two numbers that multiply to and add to .
Those numbers are and .
Therefore: or
Since must be a positive integer we have .
Therefore
Related questions:
CAT 2020 Slot 3
CAT 2019 Slot 1
CAT 2023 Slot 3
CAT 2024 Slot 3
CAT 2017 Slot 2