We were given this problem the other day and it seems a little over my head, so I thought I'd share it here for any possible advice or assistance :). The problem is as follows:
Initially, $x = 1$. For each iteration, you may execute one of the following commands:
$x = x + 3$
$x = 2x$
Generate a set of instructions that is able to yield a final $x$ state that is a multiple of 3.
I've done some initial testing and there appears to be no possible solutions, but I'm stuck trying to "prove" it.
Thanks in advance :)