cp's OEIS Frontend

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.

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).

Original entry on oeis.org

0, 4, 8, 12, 12, 16, 20, 20, 20, 28, 28, 32, 28, 28, 36, 36, 40, 36, 44, 44, 44, 44, 44, 52, 48, 52, 52, 52, 52, 60, 52, 60, 64, 60, 60, 60, 68, 68, 60, 68, 68, 68, 72, 68, 76, 76, 76, 76, 76, 76, 76, 84, 84, 76, 88, 76, 84, 84, 92, 84, 92
Offset: 1

Views

Author

Scott R. Shannon, Mar 28 2020

Keywords

Comments

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.

Crossrefs

Cf. A001481, A055025, A057655, A119439, A242118 (a subsequence of this sequence), A234300.

Formula

a(n) = 4*A234300(2*(n-1)). - Andrey Zabolotskiy, Feb 22 2025