Matrix feature value => matrix power => general formula of the generalized Fibonacci Series

Source: Internet
Author: User

As we all know, the Fibonacci series are often involved in computers. In this paper, we use linear algebra to obtain the general formula of the generalized Fibonacci series.

In the broad sense, the definition of the Fibonacci series (custom, may not be rigorous enough, please advise) is as follows:

And a and B meet a ^ 2 + 4b> 0 (the reason is that the denominator is greater than 0)

 

The recurrence formula shows that:

(1)

 

 

 

 

 

 

 

 

 

 

OK! There are two inspirations for writing this blog:

1. we can also use the difference equation method to obtain the interpass formula, but I haven't learned it yet. I found that it is also possible to write the recursive relationship in the form of a matrix and then find the interpass, but it is difficult to construct this relationship, for example, type 1.

2. in a general algorithm, almost all the power of the matrix is obtained by the bipartite method. However, we do not know that there are ki linear-independent feature vectors under λ I (Ki is the repeated Number of λ I ), we can use a method similar to the diagonal shape, which is a pediatrics in advanced mathematics. Although the previous steps are a bit complex, they are used to calculate the power of the Matrix directly by means of "sharpening without mistake.

 

Update:

The recurrence formula found today can be simplified:

This makes it easier to calculate!

 

Update:

Do you want to be more exciting? Okay, just order n!

From:
Two blind spots of thinking and a general efficient solution to the extended series in Fibonacci data computing

 

 

Updating ing

 

Appendix: previous image of the Fibonacci sequence: fib and Exponential Explosion

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.