NPTEL Computational Number Theory and Algebra Assignment 8 Answer