This question was asked in Example 21
The number of six digit numbers whose all digits are odd (1,3,4,5,9) is

Natha Kadam's image