Anonymous user
Primality by trial division: Difference between revisions
→{{header|Common Lisp}}
No edit summary |
|||
Line 37:
=={{header|Common Lisp}}==
(
((or (<= a 1) (= (mod a 2) 0)) nil)
(if (= (mod a i) 0)
(return nil))) nil)
=={{header|D}}==
|