OFFSET
1,11
LINKS
Min Qiu, Shaofang Hong, The 2-adic valuations of Stirling numbers of the first kind, arXiv:1812.04539 [math.NT], 2018.
EXAMPLE
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,
...
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 *)
PROG
(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);
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Michel Marcus, Dec 13 2018
STATUS
approved