f is a function mapping from {1, 2, 3} to {1, 2, 3, 4, 5}. x + f(x) is odd. How many possible c

This topic has expert replies
User avatar
Elite Legendary Member
Posts: 3991
Joined: Fri Jul 24, 2015 2:28 am
Location: Las Vegas, USA
Thanked: 19 times
Followed by:37 members

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

[GMAT math practice question]

f is a function mapping from {1, 2, 3} to {1, 2, 3, 4, 5}. x + f(x) is odd. How many possible cases of f(x) do we have?

A. 9
B. 10
C. 11
D. 12
E. 13
Source: — Problem Solving |

User avatar
Elite Legendary Member
Posts: 3991
Joined: Fri Jul 24, 2015 2:28 am
Location: Las Vegas, USA
Thanked: 19 times
Followed by:37 members
=>

If x is an odd number, then f(x) is an even number.
If x is an even number, then f(x) is an odd number.
Then the possible values of f(1) and f(3) are 2 and 4. The number of possible cases for f(1) and f(3) is 2.
The possible values of f(2) are 1, 3, and 5. The number of possible cases for f(2) = 3.

Thus. the number of possible cases for the function f(x) is 2·2·3 = 12.

Therefore, D is the correct answer.
Answer: D