isn't a better looking formula for your sequence?
If is odd, then disappears, leaving the other half. If is even, the other half disappears, leaving this one. Neat, yeah?
This method is very handy for writing down a formula for sequences whose properties alternate between odd and even terms. For example, suppose you have