`farey-sequence``n`procedure- n
- integer

Returns a list of the numbers in the

`n`th Farey sequence;`n`must be positive.The

`n`th Farey sequence is the sequence of all completely reduced rational numbers from 0 to 1 which denominators are less than or equal to`n`.> (farey-sequence 1) (0 1) > (farey-sequence 2) (0 1/2 1) > (farey-sequence 3) (0 1/3 1/2 2/3 1)

Wikipedia: Farey Sequence