I was reading about the prime test algorithm and found the AKS primality test. Could this algorithm be implemented in Scheme or in C++?
Has anyone tried implementing the AKS test?
Scheme and C++ (and Racket and Pascal and Logo and Modula-3 and Postscript) are all Turing equivalent, meaning that they can all be used to simulate each other, and hence that they can all compute the same things.
So: yes, you can implement this in Scheme. Or any other Turing-complete language.
Of course it can. Google helps here.
C++ implementations
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With