A sequence of p 0's, q 1's, and r 2's is considered "good" if there are no consecutive digits in the sequence which are the same. let n(p, q, r) be the number of such "good" sequences.
Answers
Answered by
1
P=0
q=1
r=2
s=3
hope it helps you!!!
q=1
r=2
s=3
hope it helps you!!!
Similar questions