Decomposition of integer number input to prime factors