Love my family & adore animals! Always try
to have a positive mindset
Interleave sequence
Updated on
Edit
Like
Comment
Share
Sign in
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(i+1)/2 if i is odd.
Properties
The interleave sequence (zi) is convergent if and only if the sequences (xi) and (yi) are convergent and have the same limit.
Consider two real numbersa 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.