So I'm stuck on this problem. If you perform a faro out-shuffle (i.e. a perfect "riffle shuffle" where the top and bottom cards stays in place) on a pack of 52 cards ($n=26$), you can get back the original order in 8 shuffles. Call $8$ the order for $n=26$. That's easily seen if you write the permutation in cycle notation. I checked the order for $n=1$ all the way to $n=26$. I looked for some pattern, but I found none. So my question is, is there a general formula to determine order for any arbitrary $n$? I'd be much obliged if someone could point me in the right direction. Thanks.
2026-03-25 14:35:54.1774449354
Minimum number of out-shuffles required to get back to the start in a pack of $2n$ cards?
3k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ABSTRACT-ALGEBRA
- Feel lost in the scheme of the reducibility of polynomials over $\Bbb Z$ or $\Bbb Q$
- Integral Domain and Degree of Polynomials in $R[X]$
- Fixed points of automorphisms of $\mathbb{Q}(\zeta)$
- Group with order $pq$ has subgroups of order $p$ and $q$
- A commutative ring is prime if and only if it is a domain.
- Conjugacy class formula
- Find gcd and invertible elements of a ring.
- Extending a linear action to monomials of higher degree
- polynomial remainder theorem proof, is it legit?
- $(2,1+\sqrt{-5}) \not \cong \mathbb{Z}[\sqrt{-5}]$ as $\mathbb{Z}[\sqrt{-5}]$-module
Related Questions in COMBINATORICS
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Hard combinatorial identity: $\sum_{l=0}^p(-1)^l\binom{2l}{l}\binom{k}{p-l}\binom{2k+2l-2p}{k+l-p}^{-1}=4^p\binom{k-1}{p}\binom{2k}{k}^{-1}$
- Algebraic step including finite sum and binomial coefficient
- nth letter of lexicographically ordered substrings
- Count of possible money splits
- Covering vector space over finite field by subspaces
- A certain partition of 28
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
Related Questions in GROUP-THEORY
- What is the intersection of the vertices of a face of a simplicial complex?
- Group with order $pq$ has subgroups of order $p$ and $q$
- How to construct a group whose "size" grows between polynomially and exponentially.
- Conjugacy class formula
- $G$ abelian when $Z(G)$ is a proper subset of $G$?
- A group of order 189 is not simple
- Minimal dimension needed for linearization of group action
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
- subgroups that contain a normal subgroup is also normal
- Could anyone give an **example** that a problem that can be solved by creating a new group?
Related Questions in CARD-GAMES
- optimal strategy for drawing a deck of cards
- Blackjack basic strategy statistics wanted
- Combinatorics question: Suppose you play a game of cards in which only 5 cards are dealt from a standard 52 deck....
- Three of a kind and a pair on hands bigger than 5
- Card Game Odds In-Between
- Inversions of a Deck of Cards
- 2 detectives card trick
- Interesting Riddle about a Game with Playing Cards
- Does not playing the basic strategy in Blackjack hurt other players at the table?
- Why is this line of reasoning not correct?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
As Arthur noted in the comments below, the out-shuffle is identical to an in-shuffle on two fewer cards. Since the first and last cards are fixed, I will simply rename the deck to exclude those cards and focus on in-shuffling instead. To be perfectly clear, my $1$ is really the second card and so forth.
The in-shuffle on $2n$ cards (which is an out-shuffling on $2n+2$ cards) can be represented as a permutation $\pi \in S_{2n}$ in two-line notation as follows:
$$\pi = \begin{pmatrix} 1 & 2 & 3 & \cdots & n && n+1 && n+2 && n+3 && \cdots &&2n\\ 2 & 4 & 6 & \cdots & 2n && 1 && 3 && 5 && \cdots && 2n-1\end{pmatrix}$$
The first thing you want to do is confirm to yourself that $\pi(x) \equiv 2x \pmod{2n+1}$ for any $x \in \{1, 2, ..., 2n\}$.
From here, imagine you rewrite the two-line notation into disjoint cycle notation. Denote $m$ as the length of the cycle to which $1$ belongs. Can you show that $m$ is also the order of $2$ in the multiplicative group $\mathbb{Z}_{2n+1}^\times$? You don't need anything fancy to show this -- simply consider the previous paragraph.
Next, you'll want to show that, for any arbitrary $x \in \{1, 2, ..., 2n\}$, the length of the cycle to which $x$ belongs divides $m$. Again, there's nothing too difficult going on here. To get you started, we know that $\pi(x) \equiv 2x$, then $\pi(2x) \equiv 2\cdot 2x \equiv 4x$, then $\pi(4x) \equiv 2 \cdot 4x \equiv 8x$, and so forth working $\pmod{2n+1}$. How many times must we continue until we're guaranteed to wrap around to $x$? What can we conclude?
From here, we can simply apply the fact that the order of a composition of disjoint cycles is the least common multiple of their respective lengths. Since all cycle lengths divide $m$, then the order of the entire permutation $\pi$ is $m$. That is, the number of in-shuffles required to return a deck of $2n$ cards to its original position is equal to the order of $2$ in the multiplicative group $\mathbb{Z}_{2n+1}^\times$. As discussed in the first paragraph, this will be equal to the number of out-shuffles required to return a deck of $2n+2$ cards to their original position.
Unfortunately, no known closed-form exists for finding this value. Solving $2^x = 1 \pmod{2n+1}$ is a discrete log problem for which polynomial-time algorithms have not been discovered (though one can apply brute-force or any of a few slight improvements on brute-forcing).