Back
1 . For each integer n0, let Sn denote the number of length-n strings over the alphabet {a,b,c} that do not contain aa or bb. Which of the following is true, for any integer n1?
(a)
Sn=Sn1+i=1n2Sni
(b)
Sn=Sn1+2Sn2
(c)
Sn=Sn1+i=0n2Si
(d)
Sn=Sn1+i=0n22Si
(e)
Sn=Sn1+4Sn2