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!)
A277631 Number of aperiodic necklaces (Lyndon words) with k<=6 black beads and n-k white beads. 1
1, 2, 1, 2, 3, 6, 9, 18, 29, 51, 82, 135, 205, 315, 458, 662, 925, 1281, 1724, 2305, 3014, 3911, 4992, 6326, 7905, 9820, 12059, 14724, 17811, 21435, 25586, 30408, 35885, 42175, 49273, 57352, 66401, 76627, 88012, 100781, 114928, 130697, 148074, 167343, 188483, 211798, 237282, 265260, 295717, 329025, 365160 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1 + x - 3*x^2 - 2*x^3 + 3*x^4 + 4*x^5-x^6 + 2*x^7 + 9*x^8 + 6*x^9 + 7*x^11 + 12*x^12 + 7*x^13 + 3*x^14 + 6*x^15 + 6*x^16 + x^17-3*x^18 + x^20)/( (-1+x)^6*(1+x)^3*(1-x+x^2)*(1+x+x^2)^2*(1+x+x^2+x^3+x^4) ).
EXAMPLE
a(6)=9. The aperiodic necklaces are BWWWWW, BBWWWW, BWBWWW, BBBWWW, BBWBWW, BBWWBW, BBBBWW, BBBWBW and BBBBBW.
MATHEMATICA
(* The g.f. for the number of aperiodic necklaces (Lyndon words) with k<=m black beads and n-k white beads is *)
gf[x_, m_]:=Sum[x^i/i Plus@@(MoebiusMu[#](1-x^#)^(-(i/#))&/@Divisors[i]), {i, 1, m}]+x+1
(* Here we have the case m=6 *)
CROSSREFS
Cf. A001037 (k arbitrary), A008747 (k<=3), A277619 (k<=4), A277629 (k<=5). Mathematica section of A032168 gives g.f. for k=m black beads and n-k white beads.
Sequence in context: A001371 A339408 A277629 * A277633 A001037 A122086
KEYWORD
nonn,easy
AUTHOR
Herbert Kociemba, Oct 24 2016
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 23 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)