A295494 Smallest number with exactly n representations as a sum of six nonnegative squares.
0, 4, 9, 17, 20, 30, 29, 38, 36, 45, 52, 53, 54, 65, 74, 68, 83, 77, 90, 84, 86, 99, 100, 107, 101, 108, 110, 117, 129, 116, 131, 125, 126, 146, 152, 140, 134, 192, 156, 149, 161
Offset: 0
Keywords
References
- E. Grosswald, Representations of Integers as Sums of Squares. Springer-Verlag, New York, 1985, p. 86, Theorem 1.
Links
- D. H. Lehmer, On the Partition of Numbers into Squares, The American Mathematical Monthly, Vol. 55, No. 8, October 1948, pp. 476-481.
Programs
-
Mathematica
Table[SelectFirst[Range@ 200, Length@ PowersRepresentations[#, 6, 2] == n &] - Boole[n == 1], {n, 41}] (* Michael De Vlieger, Nov 26 2017 *)
Comments