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.

A034966 Number of different values of i^2 + j^2 + k^2 for i,j,k in [ 0,n ] (or [ -n,n ]).

Original entry on oeis.org

1, 4, 10, 19, 32, 45, 67, 88, 116, 145, 179, 212, 260, 300, 347, 402, 464, 517, 592, 649, 727, 803, 886, 953, 1057, 1146, 1243, 1343, 1453, 1547, 1680, 1784, 1914, 2041, 2165, 2288, 2454, 2578, 2723, 2866, 3037, 3179, 3363, 3516, 3696, 3868, 4041, 4205
Offset: 0

Views

Author

Keywords

Comments

Number of distinct lengths of main diagonals of all i X j X k boxes with edge lengths i,j,k in [0,n]

Crossrefs

Programs

  • Mathematica
    Table[ Length@Union[ Flatten[ Table[ i^2+j^2+k^2, {i, 0, n}, {j, 0, n}, {k, 0, n} ] ] ], {n, 0, 49} ]