login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254083 Number of primitive (=aperiodic) 2n-bead necklaces with colored beads of exactly n different colors. 2
1, 0, 3, 89, 5100, 510288, 79419060, 17758540440, 5397245411040, 2140495978400640, 1073686615986821760, 664582969579045104000, 497566995304189636425600, 443212653988584641970547200, 463237380681508395317004249600, 561422444732790213860667834854400 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A254040(2*n,n).
EXAMPLE
a(2) = 3: 0001, 0011, 0111.
MAPLE
with(numtheory):
b:= proc(n, k) option remember; `if`(n=0, 1,
add(mobius(n/d)*k^d, d=divisors(n))/n)
end:
a:= n-> add(b(2*n, n-j)*binomial(n, j)*(-1)^j, j=0..n):
seq(a(n), n=0..20);
MATHEMATICA
b[n_, k_] := b[n, k] = If[n==0, 1, DivisorSum[n, MoebiusMu[n/#]*k^#&]/n]; a[n_] := Sum[b[2n, n-j]*Binomial[n, j]*(-1)^j, {j, 0, n}]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Feb 26 2017, translated from Maple *)
CROSSREFS
Cf. A254040.
Sequence in context: A073861 A134502 A116336 * A103305 A097235 A047686
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jan 25 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:58 EDT 2024. Contains 371960 sequences. (Running on oeis4.)