Is there a way to list out all possible permutations of a sequence of indicator functions?

Not sure what you actually want to achieve in general and what you mean indicator functions but maybe the following might help

N=2
for i=0:2^N-1
    @show digits(i,base=2,pad=N)
end
4 Likes