Question 445640
a: Assuming order matters, the number of ways is 20P3 = 20*19*18.


b: There are 3! = 6 ways to arrange 6, 13, 17 to form different codes (e.g. 6-13-17 is different from 13-17-6, etc.)