Simple deterministic O(n log n) algorithm finding a solution of Erdős-Ginzburg-Ziv theorem

Seokhwan Choi, Hanpil Kang, Dongjae Lim
8/16/2022
cs.DSmath.CO

Official code: ho94949/EGZ (14 stars, TeX, last commit 2022-08-18).

Abstract

Erdős-Ginzburg-Ziv theorem is a famous theorem in additive number theory, which states any sequence of $2n-1$ integers contains a subsequence of $n$ elements, with their sum being a multiple of $n$. In this article, we provide an algorithm finding a solution of Erdős-Ginzburg-Ziv theorem in $\mathcal{O}(n \log n)$ time. This is the first known deterministic $\mathcal{O}(n \log n)$ time algorithm finding a solution of Erdős-Ginzburg-Ziv theorem.

View on arXivView PDF

Code Implementations(1)

ho94949/EGZOfficial100%

O(n log n) algorithm finding solutions of Erdős-Ginzburg-Ziv theorem.

141TeX, PythonMar 22, 20214 years ago

Similar Papers

Cite this paper

@article{choi2022simple,
  title  = {Simple deterministic O(n log n) algorithm finding a solution of Erdős-Ginzburg-Ziv theorem},
  author = {Seokhwan Choi and Hanpil Kang and Dongjae Lim},
  year   = {2022},
  eprint = {2208.07728},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07728}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.07728.svg)](https://codeofpaper.com/paper/2208.07728)

Discussion