Hostname: page-component-76fb5796d-25wd4 Total loading time: 0 Render date: 2024-04-25T16:09:10.522Z Has data issue: false hasContentIssue false

The $k$-Equal Problem

Published online by Cambridge University Press:  15 February 2005

MARTIN AIGNER
Affiliation:
Freie Universität Berlin, Fachbereich Mathematik und Informatik Arnimallee 14, D-14195 Berlin (e-mail: aigner@math.fu-berlin.de)

Abstract

Suppose we are given $n$ coloured balls and an integer $k$ between 2 and $n$. How many colour-comparisons $Q(n,k)$ are needed to decide whether $k$ balls have the same colour? The corresponding problem when there is an (unknown) linear order with repetitions on the balls was solved asymptotically by Björner, Lovász and Yao, the complexity being \smash{$\theta (n\log\frac{2n}{k})$}. Here we give the exact answer for \smash{$k>\frac{n}{2}: Q(n,k)=2n-k-1$}, and the order of magnitude for arbitrary \smash{$k:Q(n,k)=\theta(\frac{n^2}{k})$}.

Type
Paper
Copyright
© 2005 Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)