OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..505
A. Knopfmacher, J. N. Ridley, Reciprocal sums over partitions and compositions, SIAM J. Discrete Math. 6 (1993), no. 3, 388-399.
D. H. Lehmer, On reciprocally weighted partitions, Acta Arithmetica XXI (1972), 379-388.
D. Zeilberger, N. Zeilberger, Fractional Counting of Integer Partitions, 2018.
EXAMPLE
MAPLE
b:= proc(n, i) option remember; `if`(n=0 or i=1, 1,
b(n, i-1) +b(n-i, min(i, n-i))/i)
end:
a:= n-> numer(b(n$2)):
seq(a(n), n=0..30);
MATHEMATICA
b[n_, i_] := b[n, i] = If[n==0||i==1, 1, b[n, i-1] + b[n-i, Min[i, n-i]]/i];
a[n_] := Numerator[b[n, n]];
a /@ Range[0, 30] (* Jean-François Alcover, Apr 29 2020, after Alois P. Heinz *)
PROG
(PARI) a(n) = {my(s=0); forpart(p=n, s += 1/vecprod(Vec(p))); numerator(s); } \\ Michel Marcus, Apr 29 2020
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Alois P. Heinz, Dec 04 2018
STATUS
approved