Matlab, 60
This would be Matlab's special field IF we could use builtin functions...
c=0;a=input('');for A=a;v=c:c+A;d(v,v)=1;c=c+A+1;end disp(d)
This would be Matlab's special field IF we could use builtin functions...
c=0;a=input('');for A=a;v=c:c+A;d(v,v)=1;c=c+A+1;end disp(d)