OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
R:= NULL: x:= -1: y:= 0: count:= 0: m:= 1:
while count < 100 do
if m = 1 then
R:= R, x+2, seq(x+2*(i+1), i=1..(x+2));
count:= count + x+3;
x:= R[-1]
else
R:= R, y+2, seq(y+2*(i+1), i=1..(y+2));
count:=count + y+3;
y:= R[-1];
fi;
m:= 1-m;
od:
R; # Robert Israel, May 16 2024
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Gerald Hillier, Oct 18 2009
STATUS
approved