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

Solution Stats

55 Solutions

17 Solvers

Last Solution submitted on Sep 11, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers17

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!