On the partitions into distinct parts and odd parts