Approximating the Number of Lattice Points inside a Regular Polygon
نویسندگان
1 Department of Computer Science, University of Bojnord, Bojnord, Iran
doi
10.22059/jac.2022.88337چکیده
We study the problem of counting the number of lattice points inside a regular polygon with $n$ sides when its center is at the origin and present an exact algorithm with $\mathcal{O}(k^{2}\log n)$ time and two approximate answers for this problem, where $k$ is the absolute value of side length of the minimum bounding box of the regular polygon. Numerical results show the efficiency of the approximations in calculating the answer to this problem.