import pyLHD
pyLHD.are_coprime(2,12)False
helpers.are_coprime(a, b)
Check if two integers are coprime
| Name | Type | Description | Default |
|---|---|---|---|
a |
int | An integer | required |
b |
int | An integer | required |
| Type | Description |
|---|---|
| bool | Returns True if two integers are coprime |
Examples: