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.

Showing 1-2 of 2 results.

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

Original entry on oeis.org

14, 21, 26, 29, 30, 35, 38, 39, 41, 42, 45, 46, 49, 50, 51, 53, 54, 56, 57, 59, 61, 62, 63, 65, 66, 69, 70, 71, 74, 75, 77, 78, 79, 81, 83, 84, 85, 86, 87, 89, 90, 91, 93, 94, 95, 98, 99, 101, 102, 104, 105, 106, 107, 109, 110, 111, 113, 114, 115, 116, 117
Offset: 1

Views

Author

Keywords

Examples

			14 = 0^2 + 1^2 + 2^2 + 3^2.
		

Crossrefs

Programs

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

A243582 Integers of the form 8k+7 (A004771) that cannot be written as sum of four distinct squares.

Original entry on oeis.org

7, 15, 23, 31, 47, 55, 103
Offset: 1

Views

Author

Walter Kehowski, Jun 08 2014

Keywords

Examples

			a(6) = 55 since 55 == 7 (mod 8) and all its representations as a sum of squares have duplicates, namely, 55=1^2+1^2+2^2+7^2, 55=1^2+2^2+5^2+5^2, 55=1^2+3^2+3^2+6^2.
		

Crossrefs

Showing 1-2 of 2 results.