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.

A218487 Positive numbers differing from next 3 greater squares by squares.

Original entry on oeis.org

720, 5040, 5760, 10080, 20160, 22176, 28800, 56160, 60480, 100800, 126720, 134640, 151200, 187200, 248976, 262080, 282240, 332640, 428400, 443520, 463680, 665280, 677376, 734400, 763776, 887040, 1108800, 1149120, 1190160, 1235520, 1497600, 1685376, 1718640
Offset: 1

Views

Author

Michel Marcus, Oct 30 2012

Keywords

Comments

All terms are multiples of 144. - Zak Seidov, Nov 27 2013

Examples

			720 = 27^2 - 3^2 = 28^2 - 8^2 = 29^2 - 11^2.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[172*10^4],AllTrue[Sqrt[(Floor[Sqrt[#]]+{1,2,3})^2-#],IntegerQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 18 2021 *)
  • PARI
    sq3(n) = {for (i=1, n, a = sqrtint(i) + 1; if (issquare(a^2-i) && issquare((a+1)^2-i) && issquare((a+2)^2-i), print1(i, ", ")););}