OFFSET
0,5
COMMENTS
LINKS
Reinhard Zumkeller, Rows n = 0..125 of triangle, flattened
Tom Edgar, Totienomial Coefficients, INTEGERS, 14 (2014), #A62.
Tom Edgar and Michael Z. Spivey, Multiplicative functions, generalized binomial coefficients, and generalized Catalan numbers, Journal of Integer Sequences, Vol. 19 (2016), Article 16.1.6.
Donald E. Knuth and Herbert S. Wilf, The power of a prime that divides a generalized binomial coefficient, J. Reine Angew. Math., 396:212-219, 1989.
FORMULA
EXAMPLE
The first five terms in the Dedekind psi function are 1,3,4,6,6 and so T(4,2) = 6*4*3*1/((3*1)*(3*1))=8 and T(5,3) = 6*6*4*3*1/((4*3*1)*(3*1))=12.
The triangle begins
1
1 1
1 3 1
1 4 4 1
1 6 8 6 1
1 6 12 12 6 1
MAPLE
MATHEMATICA
DedekindPsi[n_] := Sum[MoebiusMu[n/d] d^2 , {d, Divisors[n]}]/EulerPhi[n];
(* b = A175836 *) b[n_] := Times @@ DedekindPsi /@ Range[n];
T[n_, k_] := b[n]/(b[k] b[n-k]);
Table[T[n, k], {n, 0, 11}, {k, 0, n}] (* Jean-François Alcover, Jul 02 2019 *)
PROG
(Sage)
q=100 #change q for more rows
P=[0]+[i*prod([(1+1/x) for x in prime_divisors(i)]) for i in [1..q]]
[[prod(P[1:n+1])/(prod(P[1:k+1])*prod(P[1:(n-k)+1])) for k in [0..n]] for n in [0..len(P)-1]] #generates the triangle up to q rows.
(Haskell)
a238498 n k = a238498_tabl !! n !! k
a238498_row n = a238498_tabl !! n
a238498_tabl = [1] : f [1] a001615_list where
f xs (z:zs) = (map (div y) $ zipWith (*) ys $ reverse ys) : f ys zs
where ys = y : xs; y = head xs * z
-- Reinhard Zumkeller, Mar 01 2014
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Tom Edgar, Feb 27 2014
STATUS
approved