An Efficient Method To Generate A Discrete Uniform Distribution Using A Biased Random Source

preprint2023arXivOpen access

Abstract

This article presents an efficient algorithm to generate a discrete uniform distribution on a set of pp elements using a biased random source for pp prime. The algorithm generalizes Von Neumann's method and improves computational efficiency of Dijkstra's method. In addition, the algorithm is extended to generate discrete uniform distribution on any finite set based on the prime factorization of integers. The time complexity of the proposed algorithm is overall sublinear O⁡(n/log⁡n)\operatorname{O}(n/\log n)

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.