Via induction I need to prove an expression is true. the expression is:
$n \leq 2^k \longrightarrow a_n \leq 3 \cdot k2^k + 4 \cdot 2^k-1$
for all $n,k \in \mathbb{Z^+}$
$a_n$ is a recursive function where
$a_1 = 3$
$a_n = a_{\lfloor \frac{n}{2} \rfloor} + a_{\lceil \frac{n}{2} \rceil} + 3n+1$
I am stuck at the point where I need to prove that $P(n+1)$ is true
$a_{\lfloor \frac{n+1}{2} \rfloor} + a_{\lceil \frac{n+1}{2} \rceil} + 3(n+1) + 1 \leq 3 \cdot k 2^k + 4 \cdot 2^k -1 $
It is the fact that I don't know how to rewrite the floor and ceiling functions to something else.
Can someone give me some ideas how to proceed with this?