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.

A306349 Number of terms in the greedy Egyptian fraction representation of n.

This page as a plain text file.
%I A306349 #28 Jun 21 2025 11:18:53
%S A306349 1,4,13,35,99
%N A306349 Number of terms in the greedy Egyptian fraction representation of n.
%C A306349 a(n) >= A004080(n).
%C A306349 a(6) > 255 and the denominator of the 255th term in the representation of 6 has 1264021241 digits.
%H A306349 <a href="/index/Ed#Egypt">Index entries for sequences related to Egyptian fractions</a>
%e A306349 a(3)=13 is the number of terms of A140335;
%e A306349 a(4)=35 is the number of terms of A281873.
%o A306349 (Python)
%o A306349 from sympy import egyptian_fraction
%o A306349 def A306349(n): return len(egyptian_fraction((n,1)))
%Y A306349 Cf. A004080, A140335, A281873.
%K A306349 nonn,more
%O A306349 1,2
%A A306349 _Pontus von Brömssen_, Feb 09 2019