How to calculate variations of 2 digit numbers [00-99] in the array of 5 for each variation? Order and repetition should not be considered.
variation pattern : {--,--,--,--,--}
ex:
variation 1 = {01,02,03,04,05}
variation 2 = {01,02,03,05,04} // Invalid variation. Already exist with different order.
variation 3 = {01,02,03,04,06}
variation 4 = {34,56,73,34,98} // Invalid variation. Contains repetition(34).
.
.
.
I found this answer for the non-repeatable variations but how to apply non-order considered variations to this formula?
Thank you.