Miller rabin theorem

how taking mod avoids overflow?
if we take mod it changes the number
give an example,please

@harry_potter123 hey after taking mod hmare jo answer ata hai after taking mod uski range fix ho jati hai ,so integer overflow nhi kr skta ,suppose if number is divided by 7 so its ans will be always less than 7 it cant be more than that so hmari upper limit fix ho gyi to usually we take mode with max number taki uski max range fix hojaye and integer dont overflow.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.