OFFSET
0,3
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..2713 (rows 0..20)
EXAMPLE
For n = 3 the values are (3,12,6) = (1,6,6)*(3,2,1).
Table starts:
1;
1;
2, 2;
3, 12, 6;
4, (24, 24), 72, 24;
5, (40, 120), (180, 360), 480, 120;
6, (60, 240, 180), (360, 2160, 720), (1440, 4320), 3600, 720;
7, (84, 420, 840), (630, 5040, 3780, 7560), (3360, 30240, 20160), (12600, 50400), 30240, 5040;
PROG
(PARI)
C(sig)={my(S=Set(sig)); vecsum(sig)!*(#sig)!/prod(k=1, #sig, (sig[k]-1)!)/prod(k=1, #S, (#select(t->t==S[k], sig))!)}
Row(n)={apply(C, [Vecrev(p) | p<-partitions(n)])}
{ for(n=0, 7, print(Row(n))) } \\ Andrew Howroyd, Oct 02 2025
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Alford Arnold, Dec 01 2010
EXTENSIONS
a(0) = 1 prepended by Peter Luschny, May 31 2020
a(45) onwards from Andrew Howroyd, Oct 02 2025
STATUS
approved
