OFFSET
1,24
COMMENTS
T(n, k) > 0 for all values of k iff n is practical (A005153).
FORMULA
EXAMPLE
Table begins as:
1
1,1,1
1,0,1,1
1,1,1,1,1,1,1
1,0,0,0,1,1
1,1,2,1,1,2,1,1,2,1,1,1
1,0,0,0,0,0,1,1
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
1,0,1,1,0,0,0,0,1,1,0,1,1
1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1
MATHEMATICA
T[n_, k_] := Module[{d = Divisors[n]}, SeriesCoefficient[Series[Product[1 + x^d[[i]], {i, Length[d]}], {x, 0, k}], k]]; Table[T[n, k], {n, 1, 10}, {k, 1, DivisorSigma[1, n]}] // Flatten
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Amiram Eldar, Mar 29 2019
STATUS
approved