A360350 Number of distinct circles that can be constructed from an n X n square grid of points when each pair of points is connected by a circle and the points lie at the ends of a diameter of the circle.
5, 26, 79, 185, 366, 653, 1077, 1678, 2494, 3571, 4959, 6718, 8889, 11541, 14740, 18553, 23027, 28278, 34351, 41352, 49356, 58454, 68732, 80330, 93304, 107757, 123815, 141605, 161211, 182795, 206393, 232190, 260331, 290907, 324090, 360080, 398856, 440655, 485655
Offset: 2
Keywords
Links
Programs
-
PARI
a(n) = { my (p = vector(n^2, k, (k-1)%n + ((k-1)\n)*I)); #setbinop((i,j)->[i+j, norm(i-j)], p)-n^2; } \\ Rémy Sigrist, Sep 24 2023
Extensions
More terms from Rémy Sigrist, Sep 24 2023
Comments