{
  "id": "enwiki-001262748766",
  "slug": "undulating-number",
  "title": "Undulating number",
  "qid": "",
  "lead": "In mathematics, an undulating number is a number that has the digit form ABABAB... when in the base 10 number system. It is sometimes restricted to non-trivial undulating numbers, which are required to have at least three digits and A ≠ B. The first few undulating numbers are: :101, 121, 131, 141, 151, 161, 171, 181, 191, 202, 212, 232, 242, 252, 262, 272, 282, 292, 303, 313, 323, 343, 353, 363, 373, 383, 393, 404, 414, 424, 434, 454, 464, 474, 484, 494, ... For the full sequence of undulating numbers, see . Some larger undulating numbers are: 1010, 80808, 171717, 989898989.",
  "body": "In mathematics, an undulating number is a number that has the digit form ABABAB... when in the base 10 number system. It is sometimes restricted to non-trivial undulating numbers, which are required to have at least three digits and A ≠ B. The first few undulating numbers are: 101, 121, 131, 141, 151, 161, 171, 181, 191, 202, 212, 232, 242, 252, 262, 272, 282, 292, 303, 313, 323, 343, 353, 363, 373, 383, 393, 404, 414, 424, 434, 454, 464, 474, 484, 494, ... For the full sequence of undulating numbers, see . Some larger undulating numbers are: 1010, 80808, 171717, 989898989. For any n ≥ 3, there are 9 &times; 9 = 81 non-trivial n-digit undulating numbers, since the first digit can have 9 values (it cannot be 0), and the second digit can have 9 values when it must be different from the first. Every undulating number with even number of digits and at least four digits is composite, since: ABABAB...AB = 10101...01 × AB. For example, 171717 = 10101 × 17. Undulating numbers with odd number of digits are palindromic. They can be prime, for example 151. The undulating number ABAB...AB with n repetitions of AB can be expressed as AB × (10 2n − 1)/99. For example, 171717 = 17 × (10 6 − 1)/99. The undulating number ABAB...ABA with n repetitions of AB followed by one A can be expressed as (AB × 10 2n+1 − BA)/99. For example, 989898989 = (98 × 10 9 − 89)/99 Undulating numbers can be generalized to other bases. If a number in base b with even number of digits is undulating, in base b^2 it is a repdigit.",
  "categories": [
    "20309567",
    "20476743",
    "23118434",
    "23468805",
    "23603337"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1262748766",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1734043298.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001262748766",
    "type": "webpage",
    "title": "Undulating number",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/undulating-number",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          22
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          22
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001262748766",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1262748766",
    "note": "Immutable snapshot enwiki-001262748766"
  }
}