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