Number theory is the branch of mathematics primarily deals with the study of positive integers. This theory is considered as Queen of Mathematics or higher arithmetic as it is involved in the study of properties of whole numbers. Questions of this theory are well understood and it helps in understanding relations between different forms of numbers, which is partly theoretical and partly experimental.