hi all I need a efficient implementation of AKS algorithm in c++.. I searched alot but i couldn't find what i need... I would be happy if some one helps me... also if you have another implementation in c++ for testing wether n(number with at least 500 digits) is prime or not please share it with me : ) Regards, DHM
If you ask a question, it helps to state the problem itself rather than the way you chose to solve it. Otherwise, it is quite possible that the way you chose is wrong in some sense.
This seems to cover your question in its entirety: http://stackoverflow.com/questions/347811/aks-primes-algorithm-in-python. See links in the answer.