{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Summary\n\nA recursively defined sequence is a [[sequence|0QE8STGJH2]] given by its first terms and a rule that computes each later term from the terms before it. A typical form is $a_0 = c$ and $a_{n+1} = f(n, a_n)$ for a given value $c$ and a given function $f$. The recursion theorem shows that exactly one sequence satisfies such a rule.\n\n## Remarks\n\nThe factorials satisfy $0! = 1$ and $(n+1)! = (n+1) \\cdot n!$.\nThe Fibonacci numbers satisfy $F_0 = 0$, $F_1 = 1$ and $F_{n+2} = F_{n+1} + F_n$. Here each term needs the two terms before it.\nIn analysis, the sequence $a_0 = 1$, $a_{n+1} = \\frac{1}{2}(a_n + 2/a_n)$ converges to $\\sqrt{2}$. It is [[Newton's method|07EXVNF9VP]] for $x^2 - 2$.\nThe rule that links the terms is a recurrence relation.\n\n## Explanations\n\n### L1 human\n\nA recursive rule tells you how to get the next term from the terms you already have.\nStart with $a_0 = 1$ and the rule $a_{n+1} = 2 a_n$, and you get $1, 2, 4, 8, \\dots$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "concept",
    "msc": [
      "11B37"
    ],
    "name": "Recursively defined sequence",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Recurrence_relation"
      },
      {
        "locator": "Defining a sequence by recursion",
        "url": "https://en.wikipedia.org/wiki/Sequence"
      }
    ],
    "tag": "0ZPV68RN1X",
    "uses": [
      "0QE8STGJH2"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0ZPV68RN1X/",
  "links": [
    {
      "field": "uses",
      "target": "0QE8STGJH2"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0ZPV68RN1X.md",
  "msc": [
    "11B37"
  ],
  "name": "Recursively defined sequence",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0ZP/0ZPV68RN1X.md",
  "status": null,
  "tag": "0ZPV68RN1X",
  "uri": "m2://0ZPV68RN1X",
  "url": "https://math2.tamnd.com/wiki/recursively-defined-sequence/",
  "writing": {
    "tag": "0ZPV68RN1X",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
