Why do banks allow you change your PIN number?


That's a kind of complicated way of saying that are 10^n different n-digit numbers.

Or, if you don't want to restrict yourself to base 10, there are b^n n-digit numbers in base b.
 
The digits dont have to be unique. So the higher number of combinations as per Mrs Vimes would seem to be the figure.

Is a pin number with repeated digits worse than one with unique numbers? 0000 or 7777 would stike me as pretty dumb!

If you insist on unique digits then you get the lower number of combinations 151,200. If you allow digits numbers such as 1122, 0000, etc then you get the 10,000 combinations.