So I am trying to calculate how many possibilities of 4 digit number pin code there are. (0-9 digits). And I want to avoid 4 same digits and 3 same digits possibilities like 444