OFFSET
0,9
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
EXAMPLE
With n = 9, 9 = 3 * 3. Since 9 - (3 + 3) = 3, and the partitions of 3 are {(3), (2, 1) (1, 1, 1)}, the partitions of 9 that include (3, 3) are {(3, 3, 3), (3, 3, 2, 1), (3, 3, 1, 1, 1)}, so a(9) = 3.
MAPLE
with(combinat):
a:= n-> numbpart(n-add(i[1]*i[2], i=ifactors(n)[2])):
seq(a(n), n=0..100); # Alois P. Heinz, Feb 04 2014
MATHEMATICA
a[n_] := PartitionsP[n-Sum[i[[1]]*i[[2]], {i, FactorInteger[n]}]]; Table[ a[n], {n, 0, 100}] (* Jean-François Alcover, Nov 11 2015, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
J. Stauduhar, Feb 01 2014
EXTENSIONS
More terms from Alois P. Heinz, Feb 04 2014
STATUS
approved