added new functions in ``ntheory.rst``