To locate at number line, let us consider the integer 5.
We can write 5 as the sum of squares of two integers:
This equation follows Pythagoras Theorem with as hypotenuse, 2 and 1 are the other two sides of the right-angle triangle.
Now we locateon the number line:
At origin O, take 2 units from the origin and represent the point as A.
At A, draw perpendicular of length 1 unit and mark it as AB.
Now, using OB as radius and O as the center, draw an arc on the right side of the triangle, intersecting the number line at P.
Point P represents

In, using Pythagoras Theorem, we have
role="math" localid="1643282703484"
OP is also the radius of the circle, so
Hence, P represents on a number line.