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

Solution Stats

53 Solutions

16 Solvers

Last Solution submitted on Jul 16, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers16

Suggested Problems

More from this Author65

Community Treasure Hunt

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

Start Hunting!