I'm trying to make a programm Code for a Paillier Encryption with Matlab.
and I wanted to make a code to calculate this numbers

but when I try to calculate the exact numbers through my Laptop, my Matlab shows the result Inf like the picture below.
How can I solve this problem? Will it be the Problem of the Programm or my Laptop?
thank you!
