Gilbreath Permutation
   HOME

TheInfoList



OR:

A Gilbreath shuffle is a way to
shuffle Shuffling is a technique used to randomize a deck of playing cards, introducing an element of chance into card games. Various shuffling methods exist, each with its own characteristics and potential for manipulation. One of the simplest shuff ...
a deck of cards, named after mathematician Norman Gilbreath (also known for
Gilbreath's conjecture Gilbreath's conjecture is a conjecture in number theory regarding the sequences generated by applying the forward difference operator to consecutive prime numbers and leaving the results unsigned, and then repeating this process on consecutive term ...
). Gilbreath's principle describes the properties of a deck that are preserved by this type of shuffle, and a Gilbreath permutation is a
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
that can be formed by a Gilbreath shuffle..


Description

A Gilbreath shuffle consists of the following two steps: *Deal off any number of the cards from the top of a deck to form a second pile of cards. *Riffle the new pile with the remainder of the deck. It differs from the more commonly used procedure of cutting a deck into two piles and then riffling the piles, in that the first step of dealing off cards reverses the order of the cards in the new pile, whereas cutting the deck would preserve this order.


Gilbreath's principle

Although seemingly highly random, Gilbreath shuffles preserve many properties of the initial deck. For instance, if the initial deck of cards alternates between black and red cards, then after a single Gilbreath shuffle the deck will still have the property that, if it is grouped into consecutive pairs of cards, each pair will have one black card and one red card. Similarly, if a Gilbreath shuffle is used on a deck of cards where every card has the same suit as the card four positions prior, and the resulting deck is grouped into consecutive sets of four cards, then each set will contain one card of each suit. This phenomenon is known as Gilbreath's principle and is the basis for several
card tricks Card manipulation, commonly known as card magic, is the branch of Magic (illusion), magic that deals with creating effects using sleight of hand techniques involving playing cards. Card manipulation is often used in magical performances, especia ...
.


Gilbreath permutations

Mathematically, Gilbreath shuffles can be described by Gilbreath permutations,
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
s of the numbers from 1 to ''n'' that can be obtained by a Gilbreath shuffle with a deck of cards labeled with these numbers in order. Gilbreath permutations can be characterized by the property that every
prefix A prefix is an affix which is placed before the stem of a word. Particularly in the study of languages, a prefix is also called a preformative, because it alters the form of the word to which it is affixed. Prefixes, like other affixes, can b ...
contains a consecutive set of numbers. For instance, the permutation (5,6,4,7,8,3,2,9,1,10) is a Gilbreath permutation for ''n'' = 10 that can be obtained by dealing off the first four or five cards and riffling them with the rest. Each of its prefixes (5), (5,6), (5,6,4), (5,6,4,7), etc. contain a set of numbers that (when sorted) form a consecutive subsequence of the numbers from 1 to 10. Equivalently, in terms of
permutation pattern In combinatorial mathematics and theoretical computer science, a (classical) permutation pattern is a sub-permutation of a longer permutation. Any permutation may be written in one-line notation as a sequence of entries representing the result of a ...
s, the Gilbreath permutations are the permutations that avoid the two patterns 132 and 312.. See in particular Proposition 3.3. A Gilbreath shuffle may be uniquely determined by specifying which of the positions in the resulting shuffled deck are occupied by cards that were dealt off into the second pile, and which positions are occupied by cards that were not dealt off. Therefore, there are 2^n possible ways of performing a Gilbreath shuffle on a deck of n cards. However, each Gilbreath permutation may be obtained from two different Gilbreath shuffles, as the first position of the permutation may have come from either of the two piles. Therefore, there are 2^ distinct Gilbreath permutations. credits this result on the number of Gilbreath permutations to . The
cyclic Cycle, cycles, or cyclic may refer to: Anthropology and social sciences * Cyclic history, a theory of history * Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr. * Social cycle, various cycles in s ...
Gilbreath permutations of order n are in one-to-one correspondence with the
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s c for which the iteration x\mapsto x^2+c (starting from x=0) underlying the
Mandelbrot set The Mandelbrot set () is a two-dimensional set (mathematics), set that is defined in the complex plane as the complex numbers c for which the function f_c(z)=z^2+c does not Stability theory, diverge to infinity when Iteration, iterated starting ...
is periodic with period n. In this correspondence, the permutation that corresponds to a given value c describes the numerical sorted order of the iterates for c. The number of cyclic Gilbreath permutations (and therefore also the number of real periodic points of the Mandelbrot set), for n=1,2,3,\dots, is given by the
integer sequence In mathematics, an integer sequence is a sequence (i.e., an ordered list) of integers. An integer sequence may be specified ''explicitly'' by giving a formula for its ''n''th term, or ''implicitly'' by giving a relationship between its terms. For ...


Ultimate Gilbreath principle

A theorem called "the ultimate Gilbreath principle" states that, for a permutation \pi of \, the following four properties are equivalent: *\pi is a Gilbreath permutation. *For each j, the top j cards \pi(1),\dots \pi(j) are distinct modulo j. *For each j and k with kj\le n, the j cards \pi\bigl((k-1)j+1\bigr),\pi\bigl((k-1)j+2\bigr),\dots,\pi(kj) are distinct modulo j. *For each j, the top j cards are consecutive in 1,2,\dots, n.


References

{{reflist Card shuffling Permutation patterns