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 A122922 #2 Mar 30 2012 17:35:16 %S A122922 0,0,1,1,1,1,1,1,2,2,2,1,2,2,2,2,2,2,2,3,3,2,3,3,2,2,3,3,3,3,3,3,4,3, %T A122922 3,3,3,4,3,3,4,4,4,3,3,4,4,3,4,4,4,4,4,3,4,5,4,4,4,4,5,4,4,5,4,4,4,5, %U A122922 5,4,5,5,4,4,5,5,5,4,5,5,6,5,5,4,5,6,5,5,6,6,5,5,6,5,5,5,4,6,6,5,5,6,5,5,6 %N A122922 Express n as the sum of four squares, x^2+y^2+z^2+w^2, x>=y>=z>=w>=0, minimizing the value of x, then minimizing y for that x. a(n) is that y. %e A122922 10 = 2^2 + 2^2 + 1^2 + 1^2, so a(10) = 2. The only representation for 11 is 3^2 + 1^2 + 1^2 + 0^2, so a(11) = 1. %Y A122922 Cf. A122921, A122923, A122924. %K A122922 nonn %O A122922 0,9 %A A122922 _Franklin T. Adams-Watters_, Sep 19 2006