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 A132438 #8 Jun 19 2016 13:24:43 %S A132438 1,7,22,47,82,124,183,250,326,414,513,621,749,874,1018,1176,1338,1515, %T A132438 1706,1899,2110,2331,2568,2806,3066,3324,3612,3903,4201,4513,4841, %U A132438 5173,5523,5882,6248,6626,7026,7433,7842,8271,8715 %N A132438 Number of different values of i^2+j^2+k^2+l^2+m^2+n^2 for i,j,k,l,m,n in [0,n]. %C A132438 Number of distinct sums of 6 squares of integers from 0 through n. %e A132438 a(1) = 7 because the 7 distinct sums of squares from 0 through 1 are permutations of 1^2 + 1^1 + 1^2 + 1^2 + 1^2 + 1^2 = 6; 1^1 + 1^2 + 1^2 + 1^2 + 1^2 + 0^2 = 5; 1^1 + 1^2 + 1^2 + 1^2 + 0^2 + 0^2 = 4; 1^1 + 1^2 + 1^2 + 0^2 + 0^2 + 0^2 = 3; 1^1 + 1^2 + 0^2 + 0^2 + 0^2 + 0^2 = 2; 1^1 + 0^2 + 0^2 + 0^2 + 0^2 + 0^2 = 1; 0^2 + 0^1 + 0^2 + 0^2 + 0^2 + 0^2 = 0. %t A132438 Table[Length@ Union@Flatten@ Table[i^2 + j^2 + k^2 + l^2 + m^2 + n^2, {i, 0, p}, {j, i, p}, {k, j, p}, {l, k, p}, {m, l, p}, {n, m, p}], {p, 0, 40}] %Y A132438 Cf. A034966, A047800, A047801, A132432. %K A132438 easy,nonn %O A132438 0,2 %A A132438 _Jonathan Vos Post_, Nov 13 2007, Nov 14 2007 %E A132438 Offset corrected by _Giovanni Resta_, Jun 19 2016