Still 2018

How many points with integer coordinates are on the circle with radius r = 2018 r = 2018 and it center at the origin O ( 0 , 0 ) O(0,0) ?


The answer is 12.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Romain Bouchard
Jan 30, 2018

To be on the circle, the coordinates of a point P ( m , n ) P(m,n) have to verify m 2 + n 2 = 201 8 2 m^2+n^2 = 2018^2 i.e. we are looking for all Pythagorean triples ( a , b , 2018 ) (a,b,2018) .

There are 12 solutions : ( 0 , 2018 ) , ( 1118 , 1680 ) , ( 1680 , 1118 ) , ( 2018 , 0 ) , ( 1680 , 1118 ) , ( 1118 , 1680 ) , ( 0 , 2018 ) , ( 1118 , 1680 ) (0,2018), (1118,1680), (1680,1118), (2018,0), (1680,-1118), (1118,-1680), (0,-2018), (-1118,-1680) , ( 1680 , 1118 ) , ( 2018 , 0 ) , ( 1680 , 1118 ) (-1680,-1118), (-2018,0), (-1680,1118) and ( 1118 , 1680 ) (-1118,1680) .

How did you find the solutions manually? (except the trivial solutions)

Vilakshan Gupta - 3 years, 3 months ago

Log in to reply

I just ran a bit of code to find the triplets.

Romain Bouchard - 3 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...