OFFSET
2,2
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
MAPLE
with(priqueue):
initialize(PQ):
insert([-9, 1, 2], PQ): v:= 0:
R:= NULL: count:= 0: i:= 0:
while count < 100 do
t:= extract(PQ);
w:= -t[1];
if floor(w) > v then i:= i+1; v:= floor(w) fi;
if t[2] = 1 then R:= R, i; count:= count+1 fi;
wp:= w + (t[3]+1)^3 - t[3]^3;
insert([-wp, t[2], t[3]+1], PQ);
if t[3] = t[2]+1 then
wp:= t[3]^3 + (t[3]+1)^3 + 1/10;
insert([-wp, t[3], t[3]+1], PQ);
fi
od:
R; # Robert Israel, Jan 21 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Sean A. Irvine, Jul 19 2019
STATUS
approved