{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Example\n\nLet $a$ and $d$ be real numbers.\nThe sequence $(a_n)_{n \\ge 0}$ with $a_n = a + n d$ is the *arithmetic progression* with first term $a$ and common difference $d$.\nIt is a [[sequence|0G9EKM0E15]] in which each term minus the previous one is the same number: $a_{n+1} - a_n = d$ for every $n \\ge 0$.\nFor example, $a = 3$ and $d = 4$ give $3, 7, 11, 15, \\ldots$.\n\nThe sum of the first $n$ terms is\n$$a_0 + a_1 + \\cdots + a_{n-1} = n a + \\frac{n(n-1)}{2} d = \\frac{n (a_0 + a_{n-1})}{2}.$$\nCheck: $\\sum_{k=0}^{n-1} (a + kd) = na + d \\sum_{k=0}^{n-1} k$, and $\\sum_{k=0}^{n-1} k = n(n-1)/2$ by the [[sum of the first natural numbers|01QZNHQWYD]].\nFor $3 + 7 + 11 + 15$ this gives $4 \\cdot (3 + 15) / 2 = 36$.\n\n## Remarks\n\nThe progression converges if and only if $d = 0$, since otherwise $\\abs{a_n} \\ge n \\abs{d} - \\abs{a}$ tends to $\\infty$.\nSo the series $\\sum_n a_n$ of an arithmetic progression diverges unless $a = d = 0$.\nEach term is the average of its two neighbours: $a_n = (a_{n-1} + a_{n+1})/2$ for $n \\ge 1$.\n\n## Explanations\n\n### L1 human\n\nAn arithmetic progression goes up or down in equal steps, like $2, 5, 8, 11$.\nTo add its terms, pair the first with the last, the second with the second to last, and so on.\nEvery pair has the same sum, so the total is the number of terms times the average of the first and the last term.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "instance_of": [
      "0G9EKM0E15"
    ],
    "kind": "example",
    "msc": [
      "11B25",
      "40A05"
    ],
    "name": "Arithmetic progression",
    "same_as": {
      "wikidata": "Q170008",
      "wikipedia": "Arithmetic progression"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Arithmetic_progression"
      }
    ],
    "tag": "S70JBRSQZX",
    "uses": [
      "01QZNHQWYD"
    ]
  },
  "kind": "example",
  "link": "https://math2.tamnd.com/node/S70JBRSQZX/",
  "links": [
    {
      "field": "instance_of",
      "target": "0G9EKM0E15"
    },
    {
      "field": "uses",
      "target": "01QZNHQWYD"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/S70JBRSQZX.md",
  "msc": [
    "11B25",
    "40A05"
  ],
  "name": "Arithmetic progression",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/S70/S70JBRSQZX.md",
  "status": null,
  "tag": "S70JBRSQZX",
  "uri": "m2://S70JBRSQZX",
  "url": "https://math2.tamnd.com/wiki/arithmetic-progression/",
  "writing": {
    "tag": "S70JBRSQZX",
    "kind": "example",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
