find-relative-prime ( n -- p )
Prime numbers

Prev:random-prime ( numbits -- p )
Next:find-relative-prime* ( n guess -- p )


Vocabulary
math.primes

Inputs
nan integer


Outputs
pan integer


Word description
Returns a number that is relatively prime to n.

Definition