This problem is related to 1283, Points on a Sphere. In this case, instead of a sphere, you have a circle. Given a radius R, calculate the number of points on the circumference of the circle that have two integer coordinates. For a circle of radius 5, you would have 12 points:

  • (0, 5) and (0, -5)
  • (5, 0) and (-5, 0)
  • (4, 3) and (4, -3)
  • (-4, 3) and (-4, -3)
  • (3, 4) and (3, -4)
  • (-3, 4) and (-3, -4)

Some radii are quite large, so watch out. Good luck!

Solution Stats

113 Solutions

25 Solvers

Last Solution submitted on Feb 16, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...