Undulating number

In mathematics, an undulating number is a number that has the digit form ABABAB... when in the base 10 number system.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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.

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 × 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.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1262748766 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.