yes, the factorial is multipulation process, but under the 40! I mean the very large number, which I can't write here, under 40! I mean the ready result of large value, which is better to write in short form in message and not write the very large num
so, I was only asking about different algorithms of representing large nums in small parts for output stream
How it could be done? Is the quesion I ask and have showed only one version ( which could be wrong ), I was asking only about logic