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