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 A175244 #2 Mar 30 2012 17:35:35 %S A175244 1,1,1,1,1,1,2,1,2,1,1,2,1,1,1,2,2,2,3,1,3,1,1,3,1,1,1,3,2,3,1,2,3,1, %T A175244 1,2,3,4,1,4,1,1,4,1,1,1,4,2,4,1,2,4,1,1,2,4,1,1,1,2,4,2,2,4,5,1,5,1, %U A175244 1,5,1,1,1,5,2,5,1,2,5,1,1,2,5,1,1,1,2,5,2,2,5,3,5 %N A175244 For k>=1 let k = a(i)^2 +...+ a(i+r-1)^2, r is the least number of squares that add up to k (A002828); a(i)<=a(i+1)<=..<=a(i+r-1); i>=1. %e A175244 1=1^2 so a(1)=1, 2=1^2+1^2 so a(2)=1 and a(3)=1, 3=1^2+1^2+1^2 so a(4)=1 and a(5)=1 and a(6)=1, 4=2^2 so a(7)=2, 5=1^2+2^2 so a(8)=1 and a(9)=2, 6=1^2+1^2+2^2 so a(10)=1 and a(11)=1 and a(12)=2, 7=1^2+1^2+1^2+2^2 so a(13)=1 and a(14)=1 and a(15)=1 and a(16)=2, 8=2^2+2^2 so a(17)=2 and a(18)=2, 9=3^2 so a(19)=3, etc... %Y A175244 Cf. A028354, A002828 %K A175244 easy,nonn %O A175244 1,7 %A A175244 _Ctibor O. Zizka_, Mar 13 2010