There are many uses of Fourier analysis in the analytic number theory. In this paper we shall derive two fundamental theorems using Cramer’s method (Mathematical methods of statistics, 1946). Let E, E* be unit cubes in the whole n-dimensional Euclidean space X such that