Interleave sequence

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In mathematics, an interleave sequence is obtained by merging two sequences via an in shuffle.

Let S be a set, and let (xi) and (yi), i=0,1,2,, be two sequences in S. The interleave sequence is defined to be the sequence x0,y0,x1,y1,. Formally, it is the sequence (zi),i=0,1,2, given by

zi:={xi/2 if i is even,y(i1)/2 if i is odd.

Properties

[edit | edit source]
  • The interleave sequence (zi) is convergent if and only if the sequences (xi) and (yi) are convergent and have the same limit.[1]
  • Consider two real numbers a and b greater than zero and smaller than 1. One can interleave the sequences of digits of a and b, which will determine a third number c, also greater than zero and smaller than 1. In this way one obtains an injection from the square (0, 1) × (0, 1) to the interval (0, 1). Different radixes give rise to different injections; the one for the binary numbers is called the Z-order curve or Morton code.[2]

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..

This article incorporates material from Interleave sequence on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.