begin
var n:=ReadInteger('n=');
var a:=new integer[n];
a[0]:=2;
for var i:=1 to a.High do
a[i]:=a[i-1]+i+1;
a.Println;
end.
begin
var n:=ReadInteger('n=');
var a:=new integer[n];
a[0]:=2;
for var i:=1 to a.High do
a[i]:=a[i-1]+i+1;
a.Println;
end.
Примерn= 102 4 7 11 16 22 29 37 46 56