Number of Factors

Consider the factors of 2^6. There are 7 factors: 1, 2, 2^2, 2^3, ……, 2^6.
Similarly, for 3 there are 2 factors: 1, 3; and
similarly, for 643, there are 2 factors: 1, 643
So the total number of factors will be 7 x 2 x 2 – 2 (1 x 1 x 1 = 1, and 2^6 x 3 x 643 = 123456 need to be minus off) = 26 positive factors