ArticleslgStudy

mathematics

Cyclic number

Cyclic number is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cyclic number rather than just read about it. In short: A cyclic number is an integer for which cyclic permutations of the digits are successive integer multiples of the number. The most widely known is the six-digit number 142857, whose first six integer multiples are 142857 × 1 = 142857 142857 × 2 = 285714 142857 × 3 = 428571 142857 × 4 = 571428 142857 × 5 = 714285 142857 × 6 = 857142 Details To qualify as a cyclic number, it is required that consecutive multiples be c…

Key takeaways

  • Cyclic number belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cyclic number to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cyclic number from memory before moving on to harder problems.

Reference excerpt

A cyclic number is an integer for which cyclic permutations of the digits are successive integer multiples of the number. The most widely known is the six-digit number 142857, whose first six integer multiples are

142857 × 1 = 142857 142857 × 2 = 285714 142857 × 3 = 428571 142857 × 4 = 571428 142857 × 5 = 714285 142857 × 6 = 857142

Details To qualify as a cyclic number, it is required that consecutive multiples be cyclic permutations. Thus, the number 076923 would not be considered a cyclic number, because even though all cyclic permutations are multiples, they are not consecutive integer multiples:

076923 × 1 = 076923 076923 × 3 = 230769 076923 × 4 = 307692 076923 × 9 = 692307 076923 × 10 = 769230 076923 × 12 = 923076 The following trivial cases are typically excluded:

single digits, e.g.: 5 repeated digits, e.g.: 555 repeated cyclic numbers, e.g.: 142857142857 If leading zeros are not permitted on numerals, then 142857 is the only cyclic number in decimal, due to the necessary structure given in the next section. Allowing leading zeros, the sequence of cyclic numbers begins:

(106 − 1) / 7 = 142857 (6 digits) (1016 − 1) / 17 = 0588235294117647 (16 digits) (1018 − 1) / 19 = 052631578947368421 (18 digits) (1022 − 1) / 23 = 0434782608695652173913 (22 digits) (1028 − 1) / 29 = 0344827586206896551724137931 (28 digits) (1046 − 1) / 47 = 0212765957446808510638297872340425531914893617 (46 digits) (1058 − 1) / 59 = 0169491525423728813559322033898305084745762711864406779661 (58 digits) (1060 − 1) / 61 = 016393442622950819672131147540983606557377049180327868852459 (60 digits) (1096 − 1) / 97 = 010309278350515463917525773195876288659793814432989690721649484536082474226804123711340206185567 (96 digits)

Relation to repeating decimals Cyclic numbers are related to the recurring digital representations of unit fractions. A cyclic number of length L is the digital representation of

1/(L + 1). Conversely, if the digital period of 1/p (where p is prime) is

p − 1, then the digits represent a cyclic number. For example:

1/7 = 0.142857 142857... Multiples of these fractions exhibit cyclic permutation:

1/7 = 0.142857 142857... 2/7 = 0.285714 285714... 3/7 = 0.428571 428571... 4/7 = 0.571428 571428... 5/7 = 0.714285 714285... 6/7 = 0.857142 857142...

Form of cyclic numbers From the relation to unit fractions, it can be shown that cyclic numbers are of the form of the Fermat quotient

bp−1−1p where b is the number base (10 for decimal), and p is a prime that does not divide b. (Primes p that give cyclic numbers in base b are called full reptend primes or long primes in base b). For example, the case b = 10, p = 7 gives the cyclic number 142857, and the case b = 12, p = 5 gives the cyclic number 2497. Not all values of p will yield a cyclic number using this formula; for example, the case b = 10, p = 13 gives 076923076923, and the case b = 12, p = 19 gives 076B45076B45076B45. These failed cases will always contain a repetition of digits (possibly several). The first values of p for which this formula produces cyclic numbers in decimal (b = 10) are (sequence A001913 in the OEIS)

7, 17, 19, 23, 29, 47, 59, 61, 97, 109, 113, 131, 149, 167, 179, 181, 193, 223, 229, 233, 257, 263, 269, 313, 337, 367, 379, 383, 389, 419, 433, 461, 487, 491, 499, 503, 509, 541, 571, 577, 593, 619, 647, 659, 701, 709, 727, 743, 811, 821, 823, 857, 863, 887, 937, 941, 953, 971, 977, 983, ... For b = 12 (duodecimal), these ps are (sequence A019340 in the OEIS)

5, 7, 17, 31, 41, 43, 53, 67, 101, 103, 113, 127, 137, 139, 149, 151, 163, 173, 197, 223, 257, 269, 281, 283, 293, 317, 353, 367, 379, 389, 401, 449, 461, 509, 523, 547, 557, 569, 571, 593, 607, 617, 619, 631, 641, 653, 691, 701, 739, 751, 761, 773, 787, 797, 809, 821, 857, 881, 929, 953, 967, 977, 991, ... For b = 2 (binary), these ps are (sequence A001122 in the OEIS)

3, 5, 11, 13, 19, 29, 37, 53, 59, 61, 67, 83, 101, 107, 131, 139, 149, 163, 173, 179, 181, 197, 211, 227, 269, 293, 317, 347, 349, 373, 379, 389, 419, 421, 443, 461, 467, 491, 509, 523, 541, 547, 557, 563, 587, 613, 619, 653, 659, 661, 677, 701, 709, 757, 773, 787, 797, 821, 827, 829, 853, 859, 877, 883, 907, 941, 947, ... For b = 3 (ternary), these ps are (sequence A019334 in the OEIS)

2, 5, 7, 17, 19, 29, 31, 43, 53, 79, 89, 101, 113, 127, 137, 139, 149, 163, 173, 197, 199, 211, 223, 233, 257, 269, 281, 283, 293, 317, 331, 353, 379, 389, 401, 449, 461, 463, 487, 509, 521, 557, 569, 571, 593, 607, 617, 631, 641, 653, 677, 691, 701, 739, 751, 773, 797, 809, 811, 821, 823, 857, 859, 881, 907, 929, 941, 953, 977, ... There are no such ps in the hexadecimal system. The known pattern to this sequence comes from algebraic number theory, specifically, this sequence is the set of primes p such that b is a primitive root modulo p. A conjecture of Emil Artin is that this sequence contains 37.395..% of the primes (for b in (sequence A085397 in the OEIS)).

Construction of cyclic numbers Cyclic numbers can be constructed by the following procedure: Let b be the number base (10 for decimal) Let p be a prime that does not divide b. Let t = 0. Let r = 1. Let n = 0. loop:

Let t = t + 1 Let x = r ⋅ b Let d = int(x / p) Let r = x mod p Let n = n ⋅ b + d If r ≠ 1 then repeat the loop. if t = p − 1 then n is a cyclic number. This procedure works by computing the digits of 1/p in base b, by long division. r is the remainder at each step, and d is the digit produced. The step

n = n ⋅ b + d serves simply to collect the digits. For computers not capable of expressing very large integers, the digits may be output or collected in another way. If t ever exceeds p/2, then the number must be cyclic, without the need to compute the remaining digits.

Properties of cyclic numbers When multiplied by their generating prime, the result is a sequence of b − 1 digits, where b is the base (e.g. 10 in decimal). For example, in decimal, 142857 × 7 = 999999. When split into groups of equal length (of two, three, four, etc... digits), and the groups are added, the result is a sequence of b − 1 digits. For example, 14 + 28 + 57 = 99, 142 + 857 = 999, 1428 + 5714+ 2857 = 9999, etc. ... This is a special case of Midy's theorem. All cyclic numbers are divisible by b − 1 where b is the base (e.g. 9 in decimal) and the sum of the remainder is a multiple of the divisor. (This follows from the previous point.)

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Cyclic number

Start with the simplest possible case. Write down what Cyclic number claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cyclic number before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cyclic number ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cyclic number

In research
Cyclic number appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cyclic number in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cyclic number is common in secondary-school and first-year university syllabi. It links to neighbouring topics Number theory, Permutations, so understanding it makes those chapters shorter.
In everyday life
Look for Cyclic number outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cyclic number” →

How to study Cyclic number in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cyclic number means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cyclic number out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cyclic number in simple terms?

A cyclic number is an integer for which cyclic permutations of the digits are successive integer multiples of the number. The most widely known is the six-digit number 142857, whose first six integer multiples are 142857 × 1 = 142857 142857 × 2 = 285714 142857 × 3 = 428571 142857 × 4 = 571428 14285…

Why does Cyclic number matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cyclic number?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cyclic number.

Tags

  • Number theory
  • Permutations

Keep exploring