AKS test for primes: Difference between revisions
→{{header|Clojure}}: marked incorrect
imported>Arakov |
(→{{header|Clojure}}: marked incorrect) |
||
Line 1,206:
=={{header|Clojure}}==
{{incorrect|Clojure|(x-1)(x-1) is x^2-2x+1 so should the result 2 (-1 2 1) rather be 2 (1 2 1) and similarly for several others}}
The *' function is an arbitrary precision multiplication.
<syntaxhighlight lang="clojure">(defn c
|