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.

A085690 Number of intersections between a sphere inscribed in a cube and the n X n X n cubes resulting from a cubic lattice subdivision of the enclosing cube.

Original entry on oeis.org

8, 26, 56, 98, 152, 194, 272, 362, 440, 530, 656, 746, 872, 1034, 1160, 1298, 1496, 1658, 1856, 1994, 2240, 2450, 2624, 2906, 3128, 3362, 3656, 3890, 4208, 4442, 4760, 5090, 5360, 5714, 6032, 6362, 6752, 7106, 7496, 7826, 8216, 8618, 9080, 9458, 9896
Offset: 2

Views

Author

Hugo Pfoertner, Jul 17 2003

Keywords

Comments

A concise description of the problem is given by Clive Tooth in the Seaman, Tooth link. Sequence terms up to n=10 were first given by Dave Seaman. Cubes having at least one vertex on the sphere and all other vertices either all inside or all outside the sphere are counted as 1/2. a(n) is asymptotic to (3/2)*Pi*n^2. (Clive Tooth) The terms a(2),...,a(6) are identical with A005897(n-1) (points on surface of cube with square grid on its faces).

Examples

			a(2)=8 because all 8 cubes resulting from a 2*2*2 subdivision of a cube are intersected by a sphere inscribed in the large cube.
a(4)=56: 8 central cubes of 4*4*4=64 not intersected.
		

Crossrefs

Programs

  • Fortran
    ! See Links.
    (C#) // See Links.

Extensions

Corrected overflow in program and b-file by Hugo Pfoertner, Apr 09 2016