AKS test for primes: Difference between revisions

Content added Content deleted
imported>Arakov
(→‎{{header|Clojure}}: marked incorrect)
Line 1,206: Line 1,206:


=={{header|Clojure}}==
=={{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.
The *' function is an arbitrary precision multiplication.
<syntaxhighlight lang="clojure">(defn c
<syntaxhighlight lang="clojure">(defn c