// output of ./demo/seq/A178715-demo.cc:
// Description:
//% OEIS sequence A178715:
//% Maximal value of prod(k=1..m, p_k-1 ) over all partitions
//% p_1 + p_2 + ... + p_m  of  n+1.

arg 1: 10 == n  [Number of parts]  default=10
[ 2 2 2 2 2 ]  1
[ 2 2 2 4 ]  3
[ 2 2 3 3 ]  4
[ 2 2 6 ]  5
[ 2 3 5 ]  8
[ 2 4 4 ]  9
[ 2 8 ]  7
[ 3 3 4 ]  12
[ 3 7 ]  12
[ 4 6 ]  15
[ 5 5 ]  16
[ 10 ]  9
 16
