Find Rp and Np, such that R*Rp-N*Np=1, given gcd(R,N)=1.
0<=Rp<N
0<=Np<R

Solution Stats

51 Solutions

14 Solvers

Last Solution submitted on Dec 28, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers14

Suggested Problems

More from this Author61

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!