Jump to content

Ducci sequence

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by EverGreg (talk | contribs) at 11:52, 29 January 2009 (Properties: Making the argument slightly more transparent to someone with little or no mathematical background). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers , the next n-tuple in the sequence is formed by taking the absolute differences of neigbouring integers:

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, the Italian mathematician credited with their discovery.

Ducci sequences are also known as the n-number game.[1]

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 mimimum 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.[1] [2] [3]

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 which contain only two different digits.

Examples

Ducci sequences may be arbitrarily long before they reach a tuple of zeros or a periodic loop. The following 4-tuple sequence takes 24 iterations to reach the zeros tuple.


This 5-tuple sequence enters a period 15 binary 'loop' after 7 iterations.


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:

References

  1. ^ a b Chamberland, Marc; Thomas, Diana M. (2004). "The N-Number Ducci Game" (PDF). Journal of Difference Equations and Applications. 10 (3). London: Taylor & Francis: 33–36. Retrieved 2009-01-26.
  2. ^ Chamberland, Marc (2003). "Unbounded Ducci sequences" (PDF). Journal of Difference Equations and Applications. 9 (10). London: Taylor & Francis: 887–895. Retrieved 2009-01-26.
  3. ^ Andriychenko, O.; Chamberland, Marc (2000). "Iterated Strings and Cellular Automata". The Mathematical Intelligencer. 22 (4). New York, NY: Springer Verlag: 33–36.