cp's OEIS Frontend

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.

A295150 Numbers that have exactly two representations as a sum of five nonnegative squares.

Original entry on oeis.org

4, 5, 8, 9, 10, 11, 12, 14, 23, 24
Offset: 1

Views

Author

Robert Price, Nov 15 2017

Keywords

Comments

This sequence is finite and complete. See the von Eitzen Link and the proof in A294675 stating that for n > 5408, the number of ways to write n as a sum of 5 squares (without allowing zero squares) is at least floor(sqrt(n - 101) / 8) = 9. Since this sequence relaxes the restriction of zero squares, the number of representations for n > 5408 is at least nine. Then an inspection of n <= 5408 completes the proof.

References

  • E. Grosswald, Representations of Integers as Sums of Squares. Springer-Verlag, New York, 1985, p. 86, Theorem 1.

Crossrefs

Programs

  • Mathematica
    okQ[n_] := Length[PowersRepresentations[n, 5, 2]] == 2;
    Select[Range[100], okQ] (* Jean-François Alcover, Feb 26 2019 *)