|
|
A306349
|
|
Number of terms in the greedy Egyptian fraction representation of n.
|
|
3
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
a(6) > 255 and the denominator of the 255th term in the representation of 6 has 1264021241 digits.
|
|
LINKS
|
|
|
EXAMPLE
|
a(3)=13 is the number of terms of A140335;
a(4)=35 is the number of terms of A281873.
|
|
PROG
|
(Python)
from sympy.ntheory import egyptian_fraction
def A306349(n): return len(egyptian_fraction(n))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|