# Egyptian's way

An Egyptian fraction is a sum of positive distinct unit fractions. A fraction is unit fraction if numerator is $$1$$ and denominator is a positive integer. Implement an algorithm to represent a fraction as the sum of finite unit fractions.

$\frac{46}{101}=\frac{1}{3}+\frac{1}{9}+\frac{1}{91}+\frac{1}{d}$

What is the value of $$d$$?

×