Saved in:
Bibliographic Details
Main Author: Treleaven, Kyle B.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.11463
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913868465307648
author Treleaven, Kyle B.
author_facet Treleaven, Kyle B.
contents Inspired by a common technique for shuffling a deck of cards on a table without riffling, we formalize the pile shuffle and investigate its capabilities as a sorting device. Our study is novel in that we consider pile shuffle in three variations: (1) using queue-like piles, (2) using stack-like piles, and (3) using a heterogeneous mixture of those two pile types, either given or decided during the shuffle by the dealer herself. We first characterize the sortable permutations of one or more sequential rounds of pile shuffle, under constraints on the number and types of piles to be used, and then derive formulas to obtain a sorting shuffle of a given permutation on the minimum number of piles, efficiently, whenever feasible. In the process, we present an interesting mathematical interpretation of any multi-round shuffle on fixed-type piles, as a single-round shuffle on a generally larger number of fixed-type ``virtual piles''; we confirm that repetition augments the power of pile shuffle exponentially, in that $m$ piles over $T$ rounds enjoys the capacity of $m^T$ piles in a single round. Finally, we motivate a forthcoming companion paper in which we prove that dealer choice -- where the dealer is allowed to choose the types of the piles during the shuffle -- makes deciding feasibility of sort NP-Hard for some variants of multi-round pile shuffle; proof is by a novel reduction from Boolean satisfiability (SAT).
format Preprint
id arxiv_https___arxiv_org_abs_2503_11463
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sorting permutations with pile shuffle on queue-like and stack-like piles
Treleaven, Kyle B.
Combinatorics
Inspired by a common technique for shuffling a deck of cards on a table without riffling, we formalize the pile shuffle and investigate its capabilities as a sorting device. Our study is novel in that we consider pile shuffle in three variations: (1) using queue-like piles, (2) using stack-like piles, and (3) using a heterogeneous mixture of those two pile types, either given or decided during the shuffle by the dealer herself. We first characterize the sortable permutations of one or more sequential rounds of pile shuffle, under constraints on the number and types of piles to be used, and then derive formulas to obtain a sorting shuffle of a given permutation on the minimum number of piles, efficiently, whenever feasible. In the process, we present an interesting mathematical interpretation of any multi-round shuffle on fixed-type piles, as a single-round shuffle on a generally larger number of fixed-type ``virtual piles''; we confirm that repetition augments the power of pile shuffle exponentially, in that $m$ piles over $T$ rounds enjoys the capacity of $m^T$ piles in a single round. Finally, we motivate a forthcoming companion paper in which we prove that dealer choice -- where the dealer is allowed to choose the types of the piles during the shuffle -- makes deciding feasibility of sort NP-Hard for some variants of multi-round pile shuffle; proof is by a novel reduction from Boolean satisfiability (SAT).
title Sorting permutations with pile shuffle on queue-like and stack-like piles
topic Combinatorics
url https://arxiv.org/abs/2503.11463