I'm a security researcher, in my research i'm stacked on an algorithm which can be solve by using maths. Please help me to solve this Problem.
Q.) How many words we will get in a dictionary? Below Conditions should be follow in creation of this dictionary: a.) Word length should be 15 b.) We have a-z alphabets (all in lower case) and 0-9 digits or we can say total 36 characters c.) all words should be random d.) same characters should not come trice. There should be a distance of at-least on charter in it. For example: aaa is not allowed in a word but aa1a is allowed.
Some sample Words: 66motk2tiblxduo o9myi8tmielruu5 9oeczw87pivbj16 q1humqkeuw8eoj4 2qo3bghfz1rtw8p mfeh6yg4evy5iz6 cilir3ffo9i6g38 7z4lg2fujposmoe
If i'm ignoring point d then calculation is very simple P(n,r)=P(36,15) =7281003461233582080000 http://www.calculatorsoup.com/calculators/discretemathematics/permutations.php?n=36&r=15&action=solve
But I have to include point d to get the exact calculation.
I will be really thankful to you if you help me to calculate the exact answer.