Can Every Number Be Expressed as a Sum of 1's and 2's in Fibonacci Ways?

  • Thread starter Thread starter Moridin
  • Start date Start date
  • Tags Tags
    Induction
AI Thread Summary
Every natural number n can be expressed as a sum of 1's and 2's in F_{n+1} distinct ways, where F_{n+1} represents the (n+1)th Fibonacci number. The proof begins by verifying the case for n = 1, which has one representation. It then uses mathematical induction to show that if the statement holds for n = p, it also holds for n = p + 1. The reasoning involves adding a 1 to existing sums or appending a 2 to sums that total n-1, leading to a recursive relationship akin to Fibonacci numbers. This establishes a clear connection between the number of summation ways and Fibonacci sequence properties.
Moridin
Messages
692
Reaction score
3

Homework Statement



Show that \forall n \in \mathbb{N}, the number n can written as a sum of 1's and 2's in F_{n+1} number of ways. F_{n+1} is the n+1:th number in the Fibonacci numbers. The order of summation makes a difference only when you get different sequences eg. 3 = 1 + 1 + 1 = 2 + 1 = 1 + 2.

The Attempt at a Solution



(1) Show that it is true for n = 1:

The number one can be written as precisely one sum of the numbers 1 and 2:

1

This is also the second of the Fibonacci numbers.

(2) Show that if it is true for n = p, it is true for n = p + 1:

Assume that p can be written F_{n+1} different ways as the sum of 1's and 2's.

It is clear that p + 1 can be written in at least as many ways, since you can just add a 1 to the different ways you can write p. However, I seem to be having some trouble with how many additional ways that it can be written. I imagine that since adding a 1 to the each of the earlier ways enables you to form additional ways by merging the added 1 to another 1 in the different sums where they happen to exist. However, for even numbers, there will be at least one way that includes only 2's, in which case this would not work.
 
Physics news on Phys.org
Let P(n) be the number of ways to write n as the sum of a sequence of 1's and 2's. To get P(n+1) you can either append a 1 to a sequence that sums to n (a total of P(n) ways), or you can append a 2 to a sequence that sums to n-1 (a total of P(n-1) ways). Does that recursion remind you of Fibonacci?
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top