In mathematics, an interleave sequence is obtained by merging two sequences via an in shuffle.
Let
{\displaystyle S}
be a set, and let
be two sequences in
The interleave sequence is defined to be the sequence
Formally, it is the sequence
given by This article incorporates material from Interleave sequence on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.