Solution
In base 3, we find that 200810=22021013. In other words,
2008=2⋅36+2⋅35+2⋅33+1⋅32+1⋅30
In order to rewrite as a sum of perfect powers of 3, we can use the fact that 2⋅3k=3k+1−3k:
2008=(37−36)+(36−35)+(34−33)+32+30=37−35+34−33+32+30
The answer is 7+5+4+3+2+0=021.
Note : Solution by bounding is also possible, namely using the fact that 1+3+32+⋯+3n=23n+1−1.
Solution 2
Notice 2008 has 7 digits in base 3. Therefore, we can add 1093=11111113 to get 3101=110202123. Subtracting 1093 back from this, we find 2008=10(−1)1(−1)1013. We need to sum the exponents of the non-zero digits of this number, so our answer is 7+5+4+3+2+0=021