interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / nth-prime / nth-prime.om

9 lines · 385 bytes Raw Blame History
1note Exercism-style exercise "nth-prime": https://exercism.org/tracks/python/exercises/nth-prime
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note prime is the n-th prime number (prime 1 is 2), or 0 for n = 0, which has no prime.
4note Check it with: sh exercise.sh exercises/nth-prime
5om2
6fn prime n ulong to ulong
7note replace this line with your solution
8trap 13
9end