Home
Evaluations
Tags
Lectures
Sandbox
About
Contribute
Evaluations
Tags
Lectures
About
Back
1 . For each integer
n
≥
0
, let
S
n
denote the number of length-
n
strings over the alphabet
{
a
,
b
,
c
}
that do not contain
a
a
or
b
b
. Which of the following is true, for any integer
n
≥
1
?
(a)
S
n
=
S
n
−
1
+
∑
i
=
1
n
2
S
n
−
i
(b)
S
n
=
S
n
−
1
+
2
S
n
−
2
(c)
S
n
=
S
n
−
1
+
∑
i
=
0
n
−
2
S
i
(d)
S
n
=
S
n
−
1
+
∑
i
=
0
n
−
2
2
S
i
(e)
S
n
=
S
n
−
1
+
4
S
n
−
2
Submit
Refresh