maths.free › Combinatorics & Graph Theory › Recurrences and generating functions

Recurrences and generating functions

Solving recurrence relations, and encoding a sequence as a power series.

A recurrence defines aₙ from earlier terms; a generating function Σ aₙ xⁿ packs the whole sequence into one function whose algebra does the counting. Picture it: the Fibonacci numbers growing by the golden ratio each step. Think it: linear recurrences with constant coefficients are solved exactly like constant-coefficient differential equations, a characteristic polynomial.

වැඩ කළ උදාහරණය · fib(25)

Fib(25)

25

පියවරෙන් පියවර

  1. F_0 = 0,; F_1 = 1

    Each Fibonacci number is the sum of the two before it.

  2. F_{2} = F_{1} + F_{0} = 1

  3. F_{3} = F_{2} + F_{1} = 2

  4. F_{4} = F_{3} + F_{2} = 3

  5. F_{5} = F_{4} + F_{3} = 5

  6. F_{6} = F_{5} + F_{4} = 8

  7. F_{7} = F_{6} + F_{5} = 13

  8. F_{8} = F_{7} + F_{6} = 21

  9. \vdots

  10. F_{24} = F_{23} + F_{22} = 46368

  11. F_{25} = F_{24} + F_{23} = 75025

උත්තරය හෙළි කරන්න
F_{25} = 75025

දැන් ඔයා ප් රශ්නයක් තෝරන්න, හෝ වර්ගය හෝ ඔබේම අඳින්න. සෑම පියවරක්, පින්තූරයක්, ඔබ ඉල්ලා තෙක් පිළිතුර සැඟවුණු.

ඔයාගෙ වැඩේ කරගෙන යන්න

නිදහස් ගිණුමක් සෑම පාඩමක් මත සටහන් එකතු, ඔබ අවසන් කර ඇති දේ වාර්තාවක්, එක් ස්ථානයක ඔබේ විසඳා ගැටළු, හා ඔබ මෙම පිටුව ගැන විමසීමට හැකි ගුරුවරයෙකු. ගණිතය ම සියලු දෙනාට විවෘත වේ, ඇතුලත් හෝ නැත.

ලියාපදිංචි වන්න පිවිසුම්

මෙහිදී භාවිත කරන සංකේත

සම්පූර්ණ අර්ථ දැක්වීම සඳහා ඕනෑම සංකේතයක් ටැප්, පින්තූරයක්, සහ එය සෑම අකුරු අදහස් කරන්නේ කුමක්ද.

කොහොමද: Recurrences and generating functions

  1. Each Fibonacci number is the sum of the two before it.

ජනතාව අහනවා ප්රශ්න

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

තවත් Combinatorics & Graph Theory