find-relative-prime* ( n guess -- p )

Prime numbers

Prime numbers

Prev: | find-relative-prime ( n -- p ) |

Next: | unique-primes ( n numbits -- seq ) |

Vocabulary

math.primes

Inputs

Outputs

Word description

Returns a number that is relatively prime to n, starting by trying guess.

Definition

math.primes

Inputs

n | an integer |

guess | an integer |

Outputs

p | an integer |

Word description

Returns a number that is relatively prime to n, starting by trying guess.

Definition

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2270, heads/master-e37db9e199, Jun 11 2024 18:31:06)