For example, for n = 2 there are three such numbers (00, 01, and 10), and 3 = F(2+2) = F4. Also, for n = 3 there are five such numbers (000, 001, 010, 100, 101), and 5 = F(3+2) = F5.

 

 

Mathematical induction proof is supposed to be used to answer this question
in Other Math Topics by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

F3=2 and there are two 1-digit binaries: 0 and 1. So the base case holds.

If we call the number of n-digit binary numbers with no consecutive 1's B[n] then B1=2.

Assume B[n]=F[n+2], and let's find B[n+1]. F[n]=F[n-1]+F[n-2] by definition. F[n+2]=F[n+1]+F[n].

B[n]=F[n+1]+F[n]=B[n-1]+B[n-2] according to our assumption or hypothesis.

Let's look at the set of 3-digit binaries with no consecutive 1's: {000 001 010 100 101}.

Now move on to the set of 4-digit binaries by including this set by prefixing a 0 then a 1:

{0000 0001 0010 0100 0101 1000 1001 1010 1100 1101}. The set size has doubled but we have caused some consecutive 1's in the second half because of the leading 1. However, if we remove the last two elements we get {0000 0001 0010 0100 0101 1000 1001 1010}. The last 3 elements have 10 consistently as the first pair of digits. The other pair of digits happens to be the set of 2-digit binaries with no consecutive 1's.

Therefore the number of 4-digit binaries with no consecutive 1's is B3+B2, so B4=B3+B2. This is of course because we have to place a 0 between the leading 1 and the rest of the binary digits (bits) so that we don't place two 1's together.

If we go on to 5-digit binaries the same pattern emerges. 4-digit: {0000 ... 1010}⇒{00000 ... 01010 10000 10010 10100 10101}. B5=B4+B3. Note the second-half leading 10 followed by the 3-digit set with no consecutive 1's.

This is true for all natural numbers n. So B[n]=F[n+1]+F[n]=B[n-1]+B[n-2]. And B[n]=F[n+2].

 

 

by Top Rated User (1.2m points)

Related questions

1 answer
asked Nov 9, 2014 in Algebra 2 Answers by Safal Das Biswas Level 4 User (7.9k points) | 628 views
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,516 questions
100,279 answers
2,420 comments
731,199 users