五、若字串為三個字母 X、Y、Z 組成, 代表長度為 n(n>0),且不包含連 續兩個 X 的字串總數,請計算a1 、a2 ?給出的線性遞迴關係式(Linear Recurrence Relation)。(10 分)