implementation of basic and advanced number theoretic algorithms in C , C++, Java , Python