FareyNeighbours
Whether and are Farey neighbours — adjacent in some Farey sequence, which is the determinant test .
FareyNeighbours(p, q, r, s)Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer, integer, integer, integer) -> boolean | modular | always |
Examples
About
| Examples | 3 |
|---|
See also: SternBrocotPath