【Solution】From the given conditions, we have
k=a3(−3+i)3+a2(−3+i)2+a1(−3+i)+a0=(−18a3+8a2−3a1+a0)+(26a3−6a2+a1)i
where a1,a2,a3 are chosen from {0,1,2,⋯,9}.
By comparing the imaginary parts on both sides of the equation, we get
26a3−6a2+a1=0a1=2(3a2−13a3)
Therefore, a1 is an even number.
If a1=0, then 3a2−13a3=0. Hence, a2 is a multiple of 13, and the only possible value is a2=0, which leads to a3=0, a contradiction.
If a1=2, then 3a2−13a3=1, solving this gives a2=9,a3=2. In this case, a0 can take any value from {0,1,2,⋯,9}.
If a1=4, then 3a2−13a3=2. Solving this gives a2=5,a3=1. In this case, a0 can also take any value from {0,1,2,⋯,9}.
If a1=6, then 3a2−13a3=3, which has no solution in {0,1,2,⋯,9}.
If a1=8, then 3a2−13a3=4, which also has no solution in {0,1,2,⋯,9}.
Substituting these 20 solutions into
k=−18a3+8a2−3a1+a0
and summing them up, we get
∑k==10[(−18)×2+8×9−3×2]+(0+1+2+⋯+9)+10[(−18)×1+8×5−3×4]+(0+1+2+⋯+9)490
Therefore, the sum of all such k is 490.