Write A=I+N where N=A−I=000−1000−10. Since N is strictly upper triangular, it is nilpotent: N2=000000100 and N3=0.
By the binomial theorem for commuting matrices, An=(I+N)n=I+nN+(2n)N2 (since all higher powers of N vanish).
The (1,3) entry (top-right) of I is 0, of N is 0, and of N2 is 1. So the (1,3) entry of An is (2n)=2n(n−1).
Computing: the (1,3) entry of A20 is (220)=190, and of A7 is (27)=21. The (1,3) entry of I is 0.
Therefore: b13=7⋅190−20⋅21+2⋅0=1330−420=910