We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #184: Triangles containing the origin.
Project Euler #184: Triangles containing the origin.
Sort by
recency
|
8 Discussions
|
Please Login in order to post a comment
For a head-start in this question watch this video: https://youtu.be/NaL_Cb42WyY
NoSpoilers
For r = 10^7
No. of triangles = 1291928194907737851997176407604203162800560
I'm confused, if there are only integer coordinates, how do r = 2 and r = 3 give different results? Am I missing something?
this stack can be usefull
(https://stackoverflow.com/questions/27713046/number-of-triangles-containing-the-point-0-0)
I believe that the best way to solve such a problem is to find the existing sequence betwin i2,i3,i4 and i...