OFFSET
4,1
COMMENTS
This is the fourth column (m=4) of triangle A213940.
The relevant p(n,4)= A008284(n,4) representative color multinomials have exponents (signatures) from the 4 part partitions of n, written with nonincreasing parts. E.g., n=6: [3,1,1,1] and [2,2,1,1] (p(6,4)=2). The corresponding representative bracelets have the four-color multinomials c[1]^3*c[2]*c[3]*c[4] and c[1]^2*c[2]^2*c[3]*c[4].
Compare this with A032275 where also bracelets with less than four colors are included, and not only representatives are counted.
Number of n-length bracelets w over a 4-ary alphabet {a1,a2,...,a4} such that #(w,a1) >= #(w,a2) >= ... >= #(w,a4) >= 1, where #(w,x) counts the letters x in word w (bracelet analog of A226883). The number of 4 color bracelets up to permutations of colors is given by A056359. - Andrew Howroyd, Sep 26 2017
LINKS
Andrew Howroyd, Table of n, a(n) for n = 4..200
FORMULA
EXAMPLE
a(4) = A213939(4,5) = 3 from the representative bracelets (with colors j for c[j], j=1, 2, ..., 4) 1234, 1342 and 1423, all taken cyclically. The necklace cyclic(1324), for example, becomes equivalent to cyclic(1423) under the dihedral D_4 turning over (or reflection) operation.
PROG
(PARI)
Cyc(v)={my(g=fold(gcd, v), s=vecsum(v)); sumdiv(g, d, eulerphi(d)*(s/d)!/prod(i=1, #v, (v[i]/d)!))/s}
CPal(v)={my(odds=#select(t->t%2, v), s=vecsum(v)); if(odds>2, 0, ((s-odds)/2)!/prod(i=1, #v, (v[i]\2)!))}
a(n)={my(t=0); forpart(p=n, t+=Cyc(Vec(p))+CPal(Vec(p)), [1, n], [4, 4]); t/2} \\ Andrew Howroyd, Sep 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Wolfdieter Lang, Jul 31 2012
EXTENSIONS
Terms a(26) and beyond from Andrew Howroyd, Sep 26 2017
STATUS
approved