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.

A000548 Squares that are not the sum of 2 nonzero squares.

Original entry on oeis.org

1, 4, 9, 16, 36, 49, 64, 81, 121, 144, 196, 256, 324, 361, 441, 484, 529, 576, 729, 784, 961, 1024, 1089, 1296, 1444, 1764, 1849, 1936, 2116, 2209, 2304, 2401, 2916, 3136, 3249, 3481, 3844, 3969, 4096, 4356, 4489
Offset: 1

Views

Author

Keywords

Comments

Squares of nonhypotenuse numbers A004144(n). - Lekraj Beedassy, Jul 06 2004
A143574(a(n)) = a(n); intersection of A000290 and A143575. - Reinhard Zumkeller, Aug 24 2008

Programs

  • Mathematica
    okQ[n_] := n == 1 || AllTrue[FactorInteger[n][[All, 1]], Mod[#, 4] != 1& ]; A000548 = Select[Range[100], okQ]^2 (* Jean-François Alcover, Feb 09 2016 *)

Formula

A000290 \ A134422. - R. J. Mathar, Feb 06 2011