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.

A216954 Triangle read by rows: A216953/2.

Original entry on oeis.org

1, 1, 1, 1, 0, 3, 1, 1, 0, 6, 1, 0, 0, 0, 15, 1, 1, 3, 0, 0, 27, 1, 0, 0, 0, 0, 0, 63, 1, 1, 0, 6, 0, 0, 0, 120, 1, 0, 3, 0, 0, 0, 0, 0, 252, 1, 1, 0, 0, 15, 0, 0, 0, 0, 495, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1023, 1, 1, 3, 6, 0, 27, 0, 0, 0, 0, 0, 2010, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4095, 1, 1, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 8127
Offset: 1

Views

Author

N. J. A. Sloane, Sep 25 2012

Keywords

Examples

			Triangle begins:
  1;
  1, 1;
  1, 0, 3;
  1, 1, 0, 6;
  1, 0, 0, 0, 15;
  1, 1, 3, 0,  0, 27;
  1, 0, 0, 0,  0,  0, 63;
  1, 1, 0, 6,  0,  0,  0, 120;
  1, 0, 3, 0,  0,  0,  0,   0, 252;
  1, 1, 0, 0, 15,  0,  0,   0,   0, 495;
  ...
		

Crossrefs

Cf. A216953. Main diagonal is A000740.

Programs

  • Mathematica
    a027375[n_] := DivisorSum[n, MoebiusMu[n/#] 2^# &];
    T[n_, k_] := If[Divisible[n, k], a027375[k]/2, 0];
    Table[T[n, k], {n, 1, 14}, {k, 1, n}] // Flatten (* Jean-François Alcover, Oct 06 2018 *)