$PQRS$ is a four-digit number where $P,Q,R,S$ are the digits of the number. If $PQRSPQRS$ is an eight-digit number with $56$ divisors (including $1$ and $PQRSPQRS$), find the number of divisors of $PQRS$ (including $1$ and $PQRS$).
If a number can be written as ${a_1}^{n_1}{a_2}^{n_2}...a_m^{n_m}$, where $a_1,a_2,...a_m$ are prime numbers then the number of divisors of the given number is $(n_1+1)(n_2+1)...(n_m+1)$
Using this, $56=8\times7=(7+1)(6+1)$. So, $PQRSPQRS=a_1^7a_2^6$
Or, $56=4\times2\times7=(3+1)(1+1)(6+1)$. So, $PQRSPQRS=a_1^3a_2^1a_3^6$
Or, $56=2\times2\times2\times7=(1+1)(1+1)(1+1)(6+1)$. So, $PQRSPQRS=a_1^1a_2^1a_3^1a_4^6$
$(a_1,a_2,a_3..$ etc are different in different cases.$)$
Also, $PQRS=10^3\times P+10^2\times Q+10^1\times R+S$
And $PQRSPQRS=(10^7+10^3)\times P+(10^6+10^2)\times Q+(10^5+10)\times R+(10^4+1)S$
I don't know how to relate divisors with this. I am not even sure if I am going in the right direction. After this I thought of subtracting $PQRS$ from $PQRSPQRS$. Again, not sure if that's helping.