Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Sep 30 2017 11:48:21
%S 1,2,3,4,5,7,8,10,11,13,16,19
%N The only integers that cannot be partitioned into a sum of six positive squares.
%C From _R. J. Mathar_, Sep 11 2012: (Start)
%C Not the sum of 7 positive squares: 1, 2, 3, 4, 5, 6, 8, 9, 11, 12, 14, 17, 20.
%C Not the sum of 8 positive squares: 1, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 15, 18, 21.
%C Not the sum of 9 positive squares: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 14, 16, 19, 22.
%C Not the sum of 10 positive squares: 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 17, 20, 23. (End)
%D Dubouis, E.; L'Interm. des math., vol. 18, (1911), pp. 55-56, 224-225.
%D Grosswald, E.; Representation of Integers as Sums of Squares, Springer-Verlag, New York Inc., (1985), pp.73-74.
%H Gordon Pall, <a href="http://www.jstor.org/stable/2301257">On Sums of Squares</a>, The American Mathematical Monthly, Vol. 40, No. 1, (January 1933), pp. 10-18.
%F Let B be the set of integers {1,2,4,5,7,10,13}. Then, for s>=6, every integer can be partitioned into a sum of s positive squares except for 1,2,...,s-1 and s+b where b is a member of the set B [Dubouis].
%e As the sixth integer which cannot be partitioned into a sum of six positive squares is 7, we have a(6)=7.
%t s=6;B={1,2,4,5,7,10,13}; Union[Range[s-1],s+B]//Sort
%Y Cf. A047701 (not the sum of 5 squares)
%K fini,full,nonn
%O 1,2
%A _Ant King_, Sep 30 2010