Question: i can't find a way for inserting counter in nested "seq()" commands

for example:
i want to know how many numbers generated in this loops

 

[seq([seq(i, j = i .. 5)], i = 1 .. 5)]

[1, 1, 1, 1, 1], [2, 2, 2, 2], [3, 3, 3], [4, 4], [5];

 

as if there is no way that can make a "++" increment operator in maple 12

Please Wait...