Know all combinations of 5 digits from 1 to 14
Solved
Warrenj
Posted messages
3
Registration date
Status
Membre
Last intervention
-
mariam-j Posted messages 44 Registration date Status Membre Last intervention -
mariam-j Posted messages 44 Registration date Status Membre Last intervention -
Hello there, I would like to know if it's possible to find all the possible combinations of 5 digits ranging from 1 to 14 without repetition? So in any order, which might make it easier for you, for example
-12345✅
-54321❌
Without repetition.
Waiting for a math expert???? thank you.
-12345✅
-54321❌
Without repetition.
Waiting for a math expert???? thank you.

check out this link
https://forums.commentcamarche.net/profile/user/via55
In Basic: ("n" is 14, here there are 3 loops for 5 digits you need to do 5 loops)
a$ contains the 14 numbers in alphanumeric form (it’s more convenient)
Line 5 is the display of a combination at each loop exit
You just have to think and adapt it in the language of your choice