This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A333597 #26 Feb 22 2025 13:10:25 %S A333597 0,4,8,12,12,16,20,20,20,28,28,32,28,28,36,36,40,36,44,44,44,44,44,52, %T A333597 48,52,52,52,52,60,52,60,64,60,60,60,68,68,60,68,68,68,72,68,76,76,76, %U A333597 76,76,76,76,84,84,76,88,76,84,84,92,84,92 %N A333597 The number of unit cells intersected by the circumference of a circle centered on the origin with radius squared equal to the norm of the Gaussian integers A001481(n). %C A333597 Draw a circle on a 2D square grid centered at the origin with a radius squared equal to the norm of the Gaussian integers A001481(n). See the images in the links. This sequence gives the number of unit cells intersected by the circumference of the circle. Equivalently this is the number of intersections of the circumference with the x and y integer grid lines. %H A333597 Scott R. Shannon, <a href="/A333597/a333597_5.png">Illustration for n = 3</a>. The circle has a radius squared of 2, resulting in 8 unit cells intersected/intersection points. %H A333597 Scott R. Shannon, <a href="/A333597/a333597_1.png">Illustration for n = 4</a>. The circle has a radius squared of 4, resulting in 12 unit cells intersected/intersection points. %H A333597 Scott R. Shannon, <a href="/A333597/a333597.png">Illustration for n = 8</a>. The circle has a radius squared of 10, resulting in 20 unit cells intersected/intersection points. %H A333597 Scott R. Shannon, <a href="/A333597/a333597_2.png">Illustration for n = 12</a>. The circle has a radius squared of 18, resulting in 32 unit cells intersected/intersection points. %H A333597 Scott R. Shannon, <a href="/A333597/a333597_3.png">Illustration for n = 13</a>. The circle has a radius squared of 20, resulting in 28 unit cells intersected/intersection points. This is the first term where the number of intersection points decreases relative to the previous term. %H A333597 Scott R. Shannon, <a href="/A333597/a333597_4.png">Illustration for n = 26</a>. The circle has a radius squared of 52, resulting in 52 unit cells intersected/intersection points. %H A333597 Wikipedia, <a href="https://en.wikipedia.org/wiki/Gaussian_integer">Gaussian integer</a>. %F A333597 a(n) = 4*A234300(2*(n-1)). - _Andrey Zabolotskiy_, Feb 22 2025 %Y A333597 Cf. A001481, A055025, A057655, A119439, A242118 (a subsequence of this sequence), A234300. %K A333597 nonn %O A333597 1,2 %A A333597 _Scott R. Shannon_, Mar 28 2020