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

3 lines
97 B
OCaml
Raw 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;;