As we have to make a six-digit number by using all the digits 1,3,5,7,9, hence exactly one of the digits is repeating.
For the digit to repeat we have 5C1=5 choices.
And, six digits in which one is repeating can be arranged in 2!6! ways.
Hence, total such numbers =5×2!6!=25(6!).