Primality testing question

please explain the solution and approach and i didnt get a single inch of this approach please if possible call me at 8279454261

Hey @sgdon142
This concept is very tricky. You may need to go through it multiple times before you get it. You can also refer to this for added help https://www.geeksforgeeks.org/primality-test-set-2-fermet-method/.

Are bhai maine bahut video dekh li aab sabr nhi h aap call par bata do if koi problem nhi ho to 8279454261

If your doubt is resolved please mark it as closed.

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.