Open Access
2023 Generating discrete uniform distribution from a biased coin using number-theoretic method
Xiaoyu Lei
Author Affiliations +
Electron. Commun. Probab. 28: 1-6 (2023). DOI: 10.1214/23-ECP537

Abstract

In this article, a new algorithm generating discrete uniform distribution on n elements from a binary random source is proposed by introducing the notion of coprimity and modulo function in number theory. The algorithm is a generalization of Von Neumann’s algorithm for n=2 [4] and Dijkstra’s algorithm for prime n [1]. The proof for the validity of the algorithm introduces the notion of random variable in residual classes, and combines the ideas and techniques from both probability theory and number theory.

Citation

Download Citation

Xiaoyu Lei. "Generating discrete uniform distribution from a biased coin using number-theoretic method." Electron. Commun. Probab. 28 1 - 6, 2023. https://doi.org/10.1214/23-ECP537

Information

Received: 7 March 2023; Accepted: 17 July 2023; Published: 2023
First available in Project Euclid: 8 August 2023

MathSciNet: MR4627414
zbMATH: 07734098
Digital Object Identifier: 10.1214/23-ECP537

Subjects:
Primary: 11Z05 , 60B99

Keywords: number theory: probability theory , random number

Back to Top