barkhi az functionaye bedardbokhor va jalebe in module ebaratand az:
>>> gmpy.is_prime #for prime testing
>>> gmpy.next_prime #returns the next prime after a given number
>>> gmpy.is_square #for perfect squre testing
>>> gmpy.is_power #for perfect power testing!
>>> gmpy.fib #returns the n-th Fibonacci number
>>> gmpy.gcd #returns the greatest common divisor of two numbers
>>> gmpy.lcm #returns lower common multiple of two numbers
>>> gmpy.comb #C(n,k)
Download link: http://groups.google.com/group/sharifpython88/web/gmpy-1.11rc1.win32-py2.6.rar
Source: http://code.google.com/p/gmpy/
More info @ http://gmpy.sourceforge.net/
Best :)