OFFSET
1,2
COMMENTS
The n-th greedy power of x, when 0.5 < x < 1, is the smallest integer exponent a(n) that does not cause the power series sum_{k=1..n} x^a(k) to exceed unity.
A heuristic argument suggests that the limit of a(n)/n is m - sum_{n=m..inf} log(1 + x^n)/log(x) = 3.0486255758..., where x=4/7 and m=floor(log(1-x)/log(x))=1. - Paul D. Hanna, Nov 16 2002
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{k=1..n} floor(g_k) where g_1=1, g_{n+1}=log_x(x^frac(g_n) - x) (n>0) at x=(4/7) and frac(y) = y - floor(y).
a(n) seems to be asymptotic to c*n with c around 3.3... - Benoit Cloitre
EXAMPLE
a(3)=5 since (4/7) +(4/7)^2 +(4/7)^5 < 1 and (4/7) +(4/7)^2 +(4/7)^4 > 1.
MAPLE
s:= 0: count:= 0:
R:= NULL;
for n from 1 while count < 100 do
t:= (4/7)^n;
if s+t < 1 then count:= count+1; R:= R, n; s:= s+t fi
od:
R; # Robert Israel, Jun 01 2018
MATHEMATICA
s = 0; a = {}; Do[ If[s + (4/7)^n < 1, s = s + (4/7)^n; a = Append[a, n]], {n, 1, 208}]; a
heuristiclimit[x_] := (m=Floor[Log[x, 1-x]])+1/24+Log[x, Product[1+x^n, {n, 1, m-1}]/DedekindEta[I Log[x]/-Pi]*DedekindEta[ -I Log[x]/2/Pi]]; N[heuristiclimit[4/7], 20]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul D. Hanna, Nov 06 2002
EXTENSIONS
Extended by Benoit Cloitre, Nov 06 2002
Edited and extended by Robert G. Wilson v, Nov 08 2002
STATUS
approved