OFFSET
1,1
LINKS
C. G. Bower, Transforms (2)
F. Ruskey, Necklaces, Lyndon words, De Bruijn sequences, etc. [Cached copy, with permission, pdf format only]
N. J. A. Sloane, Transforms
FORMULA
MOEBIUS transform of A027671.
From Herbert Kociemba, Nov 28 2016: (Start)
More generally, gf(k) is the g.f. for the number of bracelets with primitive period n and beads of k colors.
gf(k): Sum_{n>=1} mu(n)*( -log(1-k*x^n)/n + Sum_{i=0..2} binomial(k,i)x^(n*i)/(1-k*x^(2*n)) )/2. (End)
MATHEMATICA
mx=40; gf[x_, k_]:=Sum[ MoebiusMu[n]*(-Log[1-k*x^n]/n+Sum[Binomial[k, i]x^(n i), {i, 0, 2}]/( 1-k x^(2n)))/2, {n, mx}]; CoefficientList[Series[gf[x, 3], {x, 0, mx}], x] (* Herbert Kociemba, Nov 28 2016 *)
PROG
(PARI) a(x, k) = sum(n=1, 40, moebius(n) * (-log(1 - k*x^n )/n + sum(i=0, 2, binomial(k, i) * x^(n*i)) / (1 - k* x^(2*n)))/2);
Vec(a(x, 3) + O(x^41)) \\ Indranil Ghosh, Mar 29 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved