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.

A126696 Tenth-squares: floor(n/10)*ceiling(n/10).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 9, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16, 20, 20, 20, 20, 20, 20, 20, 20, 20, 25, 30, 30, 30, 30, 30, 30, 30, 30, 30, 36, 42, 42, 42, 42, 42, 42, 42, 42, 42, 49, 56, 56, 56, 56, 56, 56, 56, 56, 56
Offset: 0

Views

Author

Jonathan Vos Post, May 27 2007

Keywords

Crossrefs

Programs

  • Magma
    [ Floor(n/10)*Ceiling(n/10) : n in [0..100]];
  • Mathematica
    f[n_]:=Module[{c=n/10},Floor[c]Ceiling[c]];f[Range[0,90]] (* Harvey P. Dale, Apr 04 2011 *)

Formula

Equivalently, floor(n^2/100).