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.

A001995 Numbers that are the sum of 5 distinct squares: of form v^2 + w^2 + x^2 + y^2 + z^2 with 0 <= v < w < x < y < z.

Original entry on oeis.org

30, 39, 46, 50, 51, 54, 55, 57, 62, 63, 65, 66, 70, 71, 74, 75, 78, 79, 81, 82, 84, 85, 86, 87, 88, 90, 91, 93, 94, 95, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131
Offset: 1

Views

Author

Keywords

Examples

			30 = 0^2 + 1^1 + 2^2 + 3^2 + 4^2.
		

Crossrefs

Cf. A001944.

Programs

  • Mathematica
    nn = 15; Select[Union[Flatten[Table[a^2 + b^2 + c^2 + d^2 + e^2, {a, 0, nn}, {b, a + 1, nn}, {c, b + 1, nn}, {d, c + 1, nn}, {e, d + 1, nn}]]], # <= nn^2 &] (* T. D. Noe, Aug 17 2012 *)