A=⎛⎜⎝102021203⎞⎟⎠ , we get
A2=⎛⎜⎝102021203⎞⎟⎠⎛⎜⎝102021203⎞⎟⎠=⎛⎜⎝5082458013⎞⎟⎠
A3=⎛⎜⎝5082458013⎞⎟⎠⎛⎜⎝102021203⎞⎟⎠=⎛⎜⎝210341282334055⎞⎟⎠
A3−6A2+7A+kI3=0, we get ⎛⎜⎝210341282334055⎞⎟⎠−6⎛⎜⎝5082458013⎞⎟⎠+7⎛⎜⎝102021203⎞⎟⎠+k⎛⎜⎝100010001⎞⎟⎠=0
⎛⎜⎝k−2000k−2000k−2⎞⎟⎠=0 , which implies k−2=0
Therefore the value of k is 2.