In base b, there are 50 numbers that have their digits all distinct (which means all different). What is b?
If you can do it, instead of 50, try 100!