I've seen a couple posts recently about finding closed forms of or calulating $ \sum^n_k \lfloor c \cdot k \rfloor $ for any real $c>0$. And I was wondering about bounds we can give to this expression. Clearly since, $\lfloor ck \rfloor \le ck$, we know that $\sum_k^n \lfloor ck \rfloor \le \sum_k^n ck $. Also $ck-1 < \lfloor ck \rfloor$ so we can write,
$$ \sum_{k=a}^n [ck-1] < \sum_{k=a}^n \lfloor ck \rfloor \le \sum_{k=a}^n ck $$ $$ -\frac{1}{2} (a-n-1)(ac + cn - 2) < \sum_{k=a}^n \lfloor ck \rfloor \le -\frac{1}{2} c (a - n - 1)(a+n) $$
Can we close these bounds in further? Would the average of the bounds, $ \frac{(-1/2)(a-n-1)((ac+cn-2) + c(a+n))}{2} = \frac{(a-n-1)(ac+cn-1)}{-2}$, serve as a good approximation?
Example: If we use the above estimation and let $a=1$, $n=98$, and $c=\sqrt{3}$ we get $\text{actual} = 8353$ and $\text{estimate}=8353.1784675166$, which is only a $0.0021365\%$ error. Another example: let $a=1$, $n=100$, and $c=\pi$ we get $\text{actual}=15815$ and $\text{estimate}=15815.042900628456$, which is $0.0002712654344341099\%$ error.
Such low error percentages to me indicate that this is a viable approximation. In addition, after running a couple hundred test cases it seems that $\lfloor \text{estimate} \rfloor = \text{actual}$. Is this the case? If so, how would one show it?