Find the number of ordered pairs of positive integers $(a,b,c,d,e,f)$ that satisfy the condition

$\Large abcdef = 150150$

**
Bonus :
**
Generalize this for
$abcdef = n$
, where
$n \in \mathbb{N}$
.

The answer is 163296.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

$150150=2\times3\times5^2\times7\times11\times13$ Excepting $5^2$ ,the remaining 5 elements are distinguishable and the number of ways to arrange them into 6 different variables is $6^5$ . In these $6^5$ arrangements, $2$ indistinguishable $5$ are to be arranged into 6 different variables. By Stars and Bars there are $\binom{6+2-1}{2} = 21$ ways to arrange them $6^5 \times 21 = 163296$