The product of all digits of positive integer M is 105. How many such Ms are there with four digits?
There are this many of them:
1357 , 1375 , 1537 , 1573 , 1735 , 1753 , 3157 , 3175 , 3517 , 3571 , 3715 , 3751 , 5137 , 5173 , 5317 , 5371 , 5713 , 5731 , 7135 , 7153 , 7315 , 7351 , 7513 , 7531 , Total = 24 such numbers