Solution:
First we will prove that
sa(n)=n−(a−1)(i=1∑∞⌊ain⌋).
If n=(nknk−1⋯n1n0)a, then the digit ni contributes ni to the left side of the sum, while it contributes
ni(ai−(a−1)(ai−1+ai−2+⋯+a1+a0))=ni
to the right side, so the two are equal as claimed.
Now we have
103=i=1∑∞s20(⌊23in⌋)=i=1∑∞(⌊23in⌋−19(j=1∑∞⌊20j⌊n/23i⌋⌋))=i=1∑∞⌊23in⌋−19i=1∑∞j=1∑∞⌊20j⋅23in⌋
where we have used the fact that ⌊q⌊n/p⌋⌋=⌊pqn⌋ for positive integers n,p,q. Similarly,
115=j=1∑∞⌊20jn⌋−22i=1∑∞j=1∑∞⌊20j⋅23in⌋
Let
A=j=1∑∞⌊20jn⌋,B=i=1∑∞⌊23in⌋, and X=i=1∑∞j=1∑∞⌊20j⋅23in⌋.
Then we have 103=B−19X and 115=A−22X.
Thus, we have
s20(n)−s23(n)=(n−19j=1∑∞⌊20jn⌋)−(n−22i=1∑∞⌊23in⌋)=22B−19A=22(103+19X)−19(115+22X)=22⋅103−19⋅115=81