Toggle navigation
Delta: Algorithms
Download
Documentation
Partners
Permutations with Repetition
Example: Number of possible combinations to a combination lock. (Order does matter.)
Preview of this algorithm
Variable
Ask for n with default 1
Output
Print text n = number of items per column
Variable
Ask for t with default 0
Output
Print text t = number of columns
Output
Print text "n" ^ "t"
Variable
Set r to n ^ t
Output
Print variable r