English

An algorithm for Egyptian fraction representations with restricted denominators

Number Theory 2025-01-29 v1

Abstract

A unit fraction representation of a rational number rr is a finite sum of reciprocals of positive integers that equals rr. Of particular interest is the case when all denominators in the representation are distinct, resulting in an Egyptian fraction representation of rr. Common algorithms for computing Egyptian fraction representations of a given rational number tend to result in extremely large denominators and cannot be adapted to restrictions on the allowed denominators. We describe an algorithm for finding all unit fraction representations of a given rational number using denominators from a given finite multiset of positive integers. The freely available algorithm, implemented in Scheme, is particularly well suited to computing dense Egyptian fraction representations, where the allowed denominators have a prescribed maximum.

Keywords

Cite

@article{arxiv.2107.05076,
  title  = {An algorithm for Egyptian fraction representations with restricted denominators},
  author = {Greg Martin and Yue Shi},
  journal= {arXiv preprint arXiv:2107.05076},
  year   = {2025}
}

Comments

16 pages

R2 v1 2026-06-24T04:04:56.568Z