Ducci sequence
From Wikipedia, the free encyclopedia
A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers (a1,a2,...,an), a new n-tuple is formed by taking the absolute differences: ( | a1 − a2 | , | a2 − a3 | ,..., | an − a1 | ). Put another way: Arrange n numbers on a circle and make a new circle by taking the difference between them. Ignore any minus signs and repeat the operation.
It has been proven that one will always reach the sequence (0,0,...,0) in a finite number of steps if n is a power of 2
With n being a finite number, the sequence must of course start repeating itself sooner or later. It has been proved that if n is not a power of two, the Ducci sequence will either converge to zeros or settle on a loop with 'binary' sequences. That is, with elements composed of only two different digits.
[edit] Example sequences
This 5-tuple sequence enters a period 15 binary 'loop' after 7 iterations.
The following sequence has length 6 which is not a power of two, but it still converges to zeros:
Ducci sequences are also known as the n-numbers game. Numerous extensions and generalisations exist.
[edit] External links
This number theory-related article is a stub. You can help Wikipedia by expanding it. |