Let
Mn be the
n×n matrix with entries as follows: for
1≤i≤n, mi,i=10; for
1≤i≤n−1, mi+1,i=mi,i+1=3; all other entries in
Mn are zero. Let
Dn be the determinant of matrix
Mn. Then
∑n=1∞8Dn+11 can be represented as
qp, where
p and
q are relatively prime positive integers. Find
p+q.
Note: The determinant of the
1×1 matrix
[a] is
a, and the determinant of the
2×2 matrix
[acbd] is
ad−bc; for
n≥2, the determinant of an
n×n matrix with first row or first column
a1 a2 a3 … an is equal to
a1C1−a2C2 +a3C3−⋯ +(−1)n+1anCn, where
Ci is the determinant of the
(n−1)×(n−1) matrix formed by eliminating the row and column containing
ai.