Cyclic Numbers
by aoum, Mar 24, 2025, 4:40 PM
Cyclic Numbers: Numbers That Rotate Their Digits
Cyclic numbers are fascinating numbers with a unique property: when multiplied by integers from 1 to the number of digits, the product is a cyclic permutation of the original number. The most famous cyclic number is 142857, which is the repeating decimal part of the fraction:
![\[
\frac{1}{7} = 0.\overline{142857}.
\]](//latex.artofproblemsolving.com/1/1/3/113386cbe8191b7af8e15dd1425edd40bd1eef6b.png)
1. Definition of a Cyclic Number
A number
with
digits is a cyclic number if multiplying it by any integer
from 1 to
results in a number that is a rotation (cyclic permutation) of the original number's digits.
Formally, a number
with
digits is cyclic if:
![\[
k \times n \text{ is a cyclic permutation of } n, \quad \forall k \in \{1, 2, \dots, d\}.
\]](//latex.artofproblemsolving.com/0/8/8/0885b59d3220b6853139f768a5eb9a1d91cf5c5f.png)
2. The Most Famous Cyclic Number: 142857
Let us verify the cyclic nature of 142857:
Each product is a cyclic permutation of 142857.
3. The Connection to Repeating Decimals
Cyclic numbers are closely related to fractions with repeating decimal expansions. For example:
![\[
\frac{1}{7} = 0.\overline{142857},
\]](//latex.artofproblemsolving.com/0/f/d/0fd260ccdd6675cc895d95ad63fae7786bdeec13.png)
This repeating decimal generates the cyclic number 142857. In general, if
(where
is a prime number) has a repeating decimal of length
, the repeating sequence forms a cyclic number.
4. Other Examples of Cyclic Numbers
Beyond 142857, here are some additional examples of cyclic numbers:
5. Mathematical Properties of Cyclic Numbers
6. Proof Outline: Why Are Some Numbers Cyclic?
The cyclic nature of numbers like 142857 stems from the properties of modular arithmetic and repeating decimals.
Step 1: Consider a prime number
where
has a repeating decimal of length
.
Step 2: This decimal generates a sequence of digits that repeat in a complete cycle without breaking into smaller subsequences.
Step 3: Multiplying this sequence by any integer from 1 to
shifts the digits without disrupting the order, producing a rotation.
Step 4: The length of the decimal cycle corresponds to the multiplicative order of 10 modulo
, and if this order is
, the resulting sequence is cyclic.
7. General Conditions for Cyclic Numbers
For a number to be cyclic, the following conditions must hold:
8. Applications and Curiosities of Cyclic Numbers
9. Conclusion
Cyclic numbers are a captivating phenomenon in number theory. Their connection to repeating decimals, modular arithmetic, and prime numbers makes them a rich area of exploration. The most famous example, 142857, showcases how arithmetic operations can reveal intricate patterns in our number system.
10. References
Cyclic numbers are fascinating numbers with a unique property: when multiplied by integers from 1 to the number of digits, the product is a cyclic permutation of the original number. The most famous cyclic number is 142857, which is the repeating decimal part of the fraction:
![\[
\frac{1}{7} = 0.\overline{142857}.
\]](http://latex.artofproblemsolving.com/1/1/3/113386cbe8191b7af8e15dd1425edd40bd1eef6b.png)
1. Definition of a Cyclic Number
A number




Formally, a number


![\[
k \times n \text{ is a cyclic permutation of } n, \quad \forall k \in \{1, 2, \dots, d\}.
\]](http://latex.artofproblemsolving.com/0/8/8/0885b59d3220b6853139f768a5eb9a1d91cf5c5f.png)
2. The Most Famous Cyclic Number: 142857
Let us verify the cyclic nature of 142857:
(a rotation of 142857)
(a rotation of 142857)
(a rotation of 142857)
(a rotation of 142857)
(a rotation of 142857)
Each product is a cyclic permutation of 142857.
3. The Connection to Repeating Decimals
Cyclic numbers are closely related to fractions with repeating decimal expansions. For example:
![\[
\frac{1}{7} = 0.\overline{142857},
\]](http://latex.artofproblemsolving.com/0/f/d/0fd260ccdd6675cc895d95ad63fae7786bdeec13.png)
This repeating decimal generates the cyclic number 142857. In general, if



4. Other Examples of Cyclic Numbers
Beyond 142857, here are some additional examples of cyclic numbers:
- 058823 (from
)
- 076923 (from
)
- 052631578947368421 (from
)
5. Mathematical Properties of Cyclic Numbers
- Multiplicative Cycles: Multiplying a cyclic number by any integer less than the number of digits produces a rotation of itself.
- Relation to Primes: Cyclic numbers often arise from the reciprocals of primes where the decimal expansion has the maximum repeating length
.
- Modulo Properties: For a cyclic number
of length
, multiplying it by an integer
satisfies the congruence:
6. Proof Outline: Why Are Some Numbers Cyclic?
The cyclic nature of numbers like 142857 stems from the properties of modular arithmetic and repeating decimals.
Step 1: Consider a prime number



Step 2: This decimal generates a sequence of digits that repeat in a complete cycle without breaking into smaller subsequences.
Step 3: Multiplying this sequence by any integer from 1 to

Step 4: The length of the decimal cycle corresponds to the multiplicative order of 10 modulo


7. General Conditions for Cyclic Numbers
For a number to be cyclic, the following conditions must hold:
- The number must be a repeating decimal from a prime
where the period of the decimal expansion is
.
- Multiplication by any number up to the length of the decimal must yield a cyclic permutation of the original number.
8. Applications and Curiosities of Cyclic Numbers
- Cryptography: Understanding cyclic numbers helps in modular arithmetic and number-theoretic algorithms.
- Number Theory: Cyclic numbers highlight deep connections between primes and decimal expansions.
- Mathematical Curiosity: They are fascinating examples of how simple properties in arithmetic lead to elegant and complex patterns.
9. Conclusion
Cyclic numbers are a captivating phenomenon in number theory. Their connection to repeating decimals, modular arithmetic, and prime numbers makes them a rich area of exploration. The most famous example, 142857, showcases how arithmetic operations can reveal intricate patterns in our number system.
10. References
- Wikipedia: Cyclic Numbers
- Hardy, G. H., & Wright, E. M. An Introduction to the Theory of Numbers (2008).
- Niven, I., & Zuckerman, H. An Introduction to the Theory of Numbers (1991).