ArticleslgStudy

mathematics

Ducci sequence

Ducci sequence 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 Ducci sequence rather than just read about it. In short: A Ducci sequence is a sequence of n-tuples of integers, sometimes known as "the Diffy game", since it is based on differences (subtractions). Given an n-tuple of integers (a1,a2,...,an), the next n-tuple in the sequence is formed by taking the absolute differences of neighbouring integers: (a1,a2,...,an)→(|a1−a2|,|a2−a3|,...,|an−a1|).

Ducci sequence — main illustration
Ducci sequence — illustration

Key takeaways

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

Reference excerpt

A Ducci sequence is a sequence of n-tuples of integers, sometimes known as "the Diffy game", since it is based on differences (subtractions). Given an n-tuple of integers (a1,a2,...,an), the next n-tuple in the sequence is formed by taking the absolute differences of neighbouring integers:

(a1,a2,...,an)→(|a1−a2|,|a2−a3|,...,|an−a1|). Another way of describing this is as follows. Arrange n integers in a circle and make a new circle by taking the difference between neighbours, ignoring any minus signs; Then repeat the operation. Ducci sequences are named after Enrico Ducci (1864–1940), the Italian mathematician who discovered in the 1930s that every such sequence eventually becomes periodic. Ducci sequences are also known as the Ducci map or the n-number game. Open problems in the study of these maps still remain.

Properties From the second n-tuple onwards, it is clear that every integer in each n-tuple in a Ducci sequence is greater than or equal to 0 and is less than or equal to the difference between the maximum and minimum members of the first n-tuple. As there are only a finite number of possible n-tuples with these constraints, the sequence of n-tuples must sooner or later repeat itself. Every Ducci sequence therefore eventually becomes periodic. If n is a power of 2 every Ducci sequence eventually reaches the n-tuple (0,0,...,0) in a finite number of steps.

If n is not a power of two, a Ducci sequence will either eventually reach an n-tuple of zeros or will settle into a periodic loop of 'binary' n-tuples; that is, n-tuples of form k(b1,b2,...bn), k is a constant, and bi∈{0,1}. An obvious generalisation of Ducci sequences is to allow the members of the n-tuples to be any real numbers rather than just integers. For example, this 4-tuple converges to (0, 0, 0, 0) in four iterations: (e,π,2,1)→(π−e,π−2,2−1,e−1)→(e−2,π−22+1,e−2,2e−π−1)→ (π−e−2+1,π−e−2+1,π−e−2+1,π−e−2+1)→(0,0,0,0) The properties presented here do not always hold for these generalisations. For example, a Ducci sequence starting with the n-tuple (1, q, q2, q3) where q is the (irrational) positive root of the cubic x3−x2−x−1=0 does not reach (0,0,0,0) in a finite number of steps, although in the limit it converges to (0,0,0,0).

Examples Ducci sequences may be arbitrarily long before they reach a tuple of zeros or a periodic loop. The 4-tuple sequence starting with (0, 653, 1854, 4063) takes 23 iterations to reach the zeros tuple. (0,653,1854,4063)→(653,1201,2209,4063)→(548,1008,1854,3410)→ ⋯→(0,0,128,128)→(0,128,0,128)→(128,128,128,128)→(0,0,0,0) This 5-tuple sequence enters a period 15 binary 'loop' after 7 iterations. 15799→42208→20284→22642→04220→42020→22224→00022→00202→02222→20002→20020→20222→22000→02002→22022→02200→20200→22202→00220→02020→22220→00022→⋯ The following 6-tuple sequence shows that sequences of tuples whose length is not a power of two may still reach a tuple of zeros: 121210→111111→000000 If some conditions are imposed on any "power of two"-tuple Ducci sequence, it would take that power of two or fewer iterations to reach the zeros tuple. It is hypothesized that these sequences conform to a rule.

Modulo two form When the Ducci sequences enter binary loops, it is possible to treat the sequence in modulo two. That is:

(|a1−a2|,|a2−a3|,...,|an−a1|) =(a1+a2,a2+a3,...,an+a1)mod2 This forms the basis for proving when the sequence vanishes to all zeros.

Cellular automata

The linear map in modulo 2 can further be identified as the cellular automata denoted as rule 102 in Wolfram code and related to rule 90 through the Martin-Odlyzko-Wolfram map. Rule 102 reproduces the Sierpinski triangle.

Other related topics The Ducci map is an example of a difference equation, a category that also include non-linear dynamics, chaos theory and numerical analysis. Similarities to cyclotomic polynomials have also been pointed out. While there are no practical applications of the Ducci map at present, its connection to the highly applied field of difference equations led to conjecture that a form of the Ducci map may also find application in the future.

References

External links Ducci Sequence Archived 2004-08-26 at the Wayback Machine Integer Iterations on a Circle at Cut-the-Knot

Worked examples

Example 1 — a first encounter with Ducci sequence

Start with the simplest possible case. Write down what Ducci sequence 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 Ducci sequence 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 Ducci sequence 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 Ducci sequence

In research
Ducci sequence 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 Ducci sequence 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
Ducci sequence is common in secondary-school and first-year university syllabi. It links to neighbouring topics Number theory, Sequences and series, so understanding it makes those chapters shorter.
In everyday life
Look for Ducci sequence 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 “Ducci sequence” →

How to study Ducci sequence in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ducci sequence 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 Ducci sequence out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ducci sequence in simple terms?

A Ducci sequence is a sequence of n-tuples of integers, sometimes known as "the Diffy game", since it is based on differences (subtractions). Given an n-tuple of integers (a1,a2,...,an), the next n-tuple in the sequence is formed by taking the absolute differences of neighbouring integers: (a1,a2…

Why does Ducci sequence 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 Ducci sequence?

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 Ducci sequence.

Tags

  • Number theory
  • Sequences and series

Keep exploring