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

2 lines
97 B
OCaml

let am_i_wilson_prime (n: int): bool =
if n == 5 || n == 13 || n == 563 then true else false;;