cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A323725 a(n) is the last (and thus largest) denominator of an Egyptian fraction representing n, where each consecutive denominator is as small as possible.

This page as a plain text file.
%I A323725 #42 Jun 21 2025 11:19:58
%S A323725 1,6,57960,36802906522516375115639735990520502954652700
%N A323725 a(n) is the last (and thus largest) denominator of an Egyptian fraction representing n, where each consecutive denominator is as small as possible.
%C A323725 Values grow extremely quickly, a(5) has 142548 decimal digits.
%C A323725 The denominators for n = 3 are given in A140335.
%C A323725 The denominators for n = 4 are given in A281873.
%C A323725 The number of terms in the representation of n is A306349(n).
%H A323725 Wikipedia, <a href="https://en.wikipedia.org/wiki/Egyptian_fraction">Egyptian fraction</a>
%H A323725 <a href="/index/Ed#Egypt">Index entries for sequences related to Egyptian fractions</a>
%e A323725 a(3) = 57960 because (1/1) + (1/2) + (1/3) + (1/4) + (1/5) + (1/6) + (1/7) + (1/8) + (1/9) + (1/10) + (1/15) + (1/230) + (1/57960) = 3 and the final and greatest denominator is 57960. (Sequence A140335 has the full list of denominators.)
%o A323725 (PARI) a(n)={my(s=n,k=1); while(s>1/k, s-=1/k; k++); while(s!=0, k=ceil(1/s); s-=1/k); k} \\ _Andrew Howroyd_, Sep 01 2019
%o A323725 (Python)
%o A323725 from sympy import egyptian_fraction
%o A323725 def A323725(n): return egyptian_fraction((n,1))[-1] # _Pontus von Brömssen_, Aug 03 2020
%Y A323725 A140335 and A281873 are the denominatorial sequences for 3 and 4, respectively.
%Y A323725 Cf. A306349.
%K A323725 nonn
%O A323725 1,2
%A A323725 _AJ Tatum_, Aug 31 2019