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.

A212109 Number of (w,x,y,z) with all terms in {1,...,n} and w*x-y*z<=n.

Original entry on oeis.org

0, 1, 15, 69, 203, 467, 935, 1661, 2770, 4326, 6476, 9280, 13025, 17635, 23475, 30614, 39319, 49557, 61969, 76227, 93166, 112525, 134801, 159969, 189233, 221589, 258185, 299022, 344875, 395057, 451641, 512851, 580999, 655166, 736374
Offset: 0

Views

Author

Clark Kimberling, May 07 2012

Keywords

Comments

A212109(n)+A211060(n)=n^4. For a guide to related sequences, see A211795.

Crossrefs

Programs

  • Mathematica
    t = Compile[{{n, _Integer}}, Module[{s = 0},
    (Do[If[w*x <= y*z + n, s = s + 1],
    {w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
    Map[t[#] &, Range[0, 40]]   (* A212109 *)
    (* Peter J. C. Moses, Apr 13 2012 *)