Solution:
Let N be the number whose base-2016 representation is ABC. That is,
N=A×20162+B×2016+C
where A,B,C are digits in base 2016, i.e., 0≤A,B,C≤2015.
We are to compute the remainder when N−(A+B+C+k) is divided by 2015, for k∈{1,2,…,2015}.
First, note that 2016=2015+1.
Let us compute N modulo 2015:
2016≡1(mod2015), so 20162≡12=1(mod2015).
Therefore,
N≡A×1+B×1+C(mod2015)
So N≡A+B+C(mod2015).
Therefore,
N−(A+B+C+k)≡(A+B+C)−(A+B+C)−k≡−k(mod2015)
So the remainder when N−(A+B+C+k) is divided by 2015 is 2015−k, unless k=2015, in which case the remainder is 0.
Final answer: 2015−k.