# Programming question in Maple [closed]

How do I ask Maple to skip an integer in a loop? Something like:

for i from 0 to n do

for j from 0 to n, j<>i, do ...

(I want j to skip i.)

-

## closed as off topic by Sasha, sdcvvc, Old John, Michael Greinecker♦, Jesse MadnickAug 30 '12 at 4:57

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

for i from 0 by 1 to n do