198k views
4 votes
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?

1 Answer

3 votes

Answer:


Possible \ values\ of\ x=264,127,122,608,299,294,284,137

Explanation:

When
g(k) is odd
k will be even and when it is even
k can be even or odd.

See the flow chart attached.

The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and-example-1
User Brandon Haugen
by
5.5k points