Recurrences and generating functions
Warm-upHumanIn how many ways can a strip be tiled by squares and dominoes?
In how many ways can a strip be tiled by squares and dominoes?
Find the characteristic roots of the recurrence . Enter them as a set, e.g. 4, -1.
The sequence satisfies with and . Find a closed formula for and use it to compute .
Which formula describes all solutions of (with , arbitrary constants)?
The power series converges only at . Which statement about it, as an element of the ring of formal power series, is true?
Which of these statements are true? (Choose all that apply.)
In the proof of Lemma 2 (two solutions of with the same and agree everywhere), the induction proves the statement " and " rather than just "". Why?
Using the lesson's definition IsSol p q a (meaning ∀ n, a (n + 2) = p * a (n + 1) + q * a n), which Lean statement correctly formalises: every real sequence satisfying with and is the Fibonacci sequence?
In how many ways can the product be fully bracketed, keeping the factors in order? (For three factors there are two: and .)
Write series_inverse(a, N) that returns the first N coefficients of , where a is the list of coefficients of a power series with a[0] == 1 (missing coefficients count as ). Use the recursion from the Proposition on inverses: and . Then check that gives the Fibonacci numbers .