Hi everyone,
I am searching for a way to generate all sequences of n integers that range from 1 to n. In other words, for example with n = 2, something like
{{1,1},{1,2},{2,1},{2,2}}
Does anyone know an easy way to build such a function depending only on n?
Thanks! Clément