Rock750
The function f is defined for all positive integers n > 4 as f(n) = 3n – 9 if n is odd and f(n) = 2n – 7 if n is even. What is the value of the positive integer a?
(1) f(f(a)) = a
(2) f(f(f(a))) is odd.
I'm happy to help.

As usual, this is a spectacularly clever problem from those folks at
MGMAT.
Here's a blog you may find helpful on function notation:
https://magoosh.com/gmat/2012/function-n ... -the-gmat/Notice that for this particular function, when f(n) has an even input, it yields an odd output, and
vice versa: when it has an odd input, it yield an even output.
Statement #1:
Well, if a is even, then f(a) = 2a - 7, which will be odd, and f(f(a)) = 3(2a - 7) - 9 = 6a - 30.
Then, if f(f(a)) = a, we have
6a - 30 = a
5a = 30
a = 6
That's one possible value.
If a is odd, then f(a) = 3a - 9, which will be even, and f(f(a)) = 2(3a - 9) - 7 = 6a - 25
Then, if f(f(a)) = a, we have
6a - 25 = a
5a = 25
a = 5
That's also one possible value.
This statement yields two possible values, so no definitive answer to the prompt. This statement, alone and by itself, is
insufficient.
Statement #2:
If f(f(f(a))) is odd,
then f(f(a)) is even,
and f(a) is odd,
and a is even.
This tells us that a is even, but a could be any even number.
This statement yields no definitive answer to the prompt. This statement, alone and by itself, is
insufficient.
CombinedWe have two values from statement #1. From statement #2, we know a must be even. This means that a = 6. Now, we can give a definitive answer to the prompt question. Combined, the statements are
sufficient.
Answer =
(C)Does all this make sense?
Mike