Please in order to save solutions and appear on the leaderboards.

Farey Sequence Authors

Farey Sequence


The Farey sequence of order n is the sequence of all reduced fractions within the range [0, 1], where each denominator is at most n.

Print the Farey sequence of order 50 in ascending order. The sequence begins 0/1, 1/50, 1/49, ...

0 bytes, 0 chars
Restore solution
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
Fennel is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
ctrl + enter or

Delete Solution

Are you sure you want to delete your solution(s) for Farey Sequence?

If you have seperate bytes and chars solutions then both will be deleted.

This is irreversible, please backup any code you care about.

Type I understand and press confirm to continue.