OFFSET
1,4
COMMENTS
See A318810 for a definition of necklace permutation.
REFERENCES
F. Harary and E. Palmer, Graphical Enumeration, Academic Press, 1973, pages 36-37, 42-43.
LINKS
Math StackExchange, Marko Riedel et. al, Free circular permutations
Marko Riedel, Maple code for sequence by PET and closed form.
FORMULA
EXAMPLE
The ordering of the partitions used here is graded reflected lexicographic illustrated below with n=5:
1,1,1,1,1 => 24
1,1,1,2 => 12
1,2,2 => 6
1,1,3 => 4
2,3 => 2
1,4 => 1
5 => 1
Table begins:
1
1,1
2,1,1
6,3,2,1,1
24,12,6,4,2,1,1
PROG
(PARI)
C(sig)={my(n=vecsum(sig)); sumdiv(gcd(sig), d, eulerphi(d)*(n/d)!/prod(i=1, #sig, (sig[i]/d)!))/n}
Row(n)={apply(C, vecsort([Vecrev(p) | p<-partitions(n)]))} \\ Andrew Howroyd, Jan 23 2025
CROSSREFS
KEYWORD
nonn,tabf,new
AUTHOR
Marko Riedel, Jan 23 2025
STATUS
approved