✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
0と1からなる文字列のうち,1が連続しないような文字列の個数を考える.いま,文字列の長さが1の場合は 0 または 1 の2通り。文字列の長さが2の場合は,00, 01, 10 の3通り.文字列の長さが3の場合は,000, 001, 010, 100, 101 の5通り.では,文字列の長さが4の場合は何通りあるか.半角数字で解答すること.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!