my-solutions/codewars/ocaml/fundamentals/wilson-prime/main.ml

3 lines
97 B
OCaml
Raw Permalink Normal View History

2024-02-20 00:44:19 +05:00
let am_i_wilson_prime (n: int): bool =
if n == 5 || n == 13 || n == 563 then true else false;;