$a$ is a positive whole number. $k$ is a real number greater than one. $\operatorname{round}(x)=\left\lfloor x+\frac12\right\rfloor$.
$b(a)=\operatorname{round}(k\cdot\operatorname{round}(a/k))$.
Can $b(a)$ be:
- greater than $a$?
- less than $a$?
- can $b(\dots (b(a)))$ tend to infinity?
The problem is practical: It is about rounding errors when calculating paid time period ($a$ or $b(a)$) on a Web site dependently on changes of the price (price is changed $k$ times).
Greater than $a$? Try $a = 3$ and $k = 2$.
Less than $a$? Try $a = 14$ and $k = 10$.
The last one. Is there a fixed $k$?