English

A brief overview of the sock matching problem

Combinatorics 2021-11-05 v2

Abstract

This short note deals with the so-called Sock  Matching  Problem Sock \; Matching \; Problem. We define Bn,kB_{n,k} as the number of all the finite sequences a1,,a2na_1, \ldots, a_{2n} of nonnegative integers which contain at least one occurrence of kk (1kn)(1 \leq k \leq n) and for which a1=1a_1 = 1 , a2n=0a_{2n}=0 and aiai+1  =1 \mid a_i -a_{i+1}\mid \; = 1. The value aia_i can be interpreted as the number of unmatched socks being present after having drawn the first ii socks randomly out of the pile which initially contained nn pairs of socks. Here, establishing a link between this problem and with both some old and some new results, related to the number of restricted Dyck paths, we obtain a few valid forms of the sock matching theorem and prove that the probability for kk unmatched socks to appear (in the very process of drawing one sock at a time) approaches 11 as the number of socks becomes large enough.

Keywords

Cite

@article{arxiv.1609.08353,
  title  = {A brief overview of the sock matching problem},
  author = {Bojana Pantić and Olga Bodroža-Pantić},
  journal= {arXiv preprint arXiv:1609.08353},
  year   = {2021}
}

Comments

10 pages, 2 figures

R2 v1 2026-06-22T16:02:35.293Z