The sum of digits of $\lfloor n^c\rfloor$