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.

A322512 Triangle read by rows of the 2-adic valuation (A007814) of Stirling numbers of first kind (A008275).

Original entry on oeis.org

0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 3, 1, 0, 1, 0, 3, 1, 0, 0, 0, 0, 4, 2, 3, 0, 0, 0, 0, 4, 2, 2, 0, 3, 1, 2, 0, 7, 4, 2, 2, 0, 3, 1, 2, 0, 7, 4, 2, 5, 0, 0, 1, 1, 0, 0, 8, 5, 3, 2, 1, 0, 0, 1, 3, 0, 0, 8, 5, 3, 2, 1, 0, 1, 0, 1, 0, 1, 0, 10, 7, 7, 3, 2, 1, 0, 1, 0, 1, 0, 1, 0
Offset: 1

Views

Author

Michel Marcus, Dec 13 2018

Keywords

Examples

			Triangle begins:
  0,
  0, 0,
  1, 0, 0,
  1, 0, 1, 0,
  3, 1, 0, 1, 0,
  3, 1, 0, 0, 0, 0,
  4, 2, 3, 0, 0, 0, 0,
  4, 2, 2, 0, 3, 1, 2, 0,
  ...
		

Crossrefs

Programs

  • Mathematica
    T[n_, k_] := IntegerExponent[StirlingS1[n, k], 2]; Table[T[n, k], {n, 1, 20}, {k, 1, n}] // Flatten (* Amiram Eldar, Dec 13 2018 *)
  • PARI
    T(n,k) = valuation(stirling(n, k, 1), 2);
    row(n) = vector(n, k, T(n,k));
    tabl(nn) = vector(nn, k, row(k));(PARI) T(n,k) = valuation(stirling(n, k, 1), 2);

Formula

T(n,k) = A007814(A008275(n,k)).