Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec f n i = if i == 1 then true else if n mod i == 0 then false else f n (i-1);;
- f 15 14;;
- f 11 10;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement