cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A005515 Number of n-bead bracelets (turnover necklaces) of two colors with 10 red beads and n-10 black beads.

Original entry on oeis.org

1, 1, 6, 14, 47, 111, 280, 600, 1282, 2494, 4752, 8524, 14938, 25102, 41272, 65772, 102817, 156871, 235378, 346346, 502303, 716859, 1010256, 1404624, 1931540, 2625658, 3534776, 4711448, 6226148, 8156396, 10603704, 13679696, 17527595, 22304765, 28209566, 35459694
Offset: 10

Views

Author

Keywords

Comments

From Vladimir Shevelev, Apr 23 2011: (Start)
Also number of non-equivalent (turnover) necklaces of 10 beads each of them painted by one of n colors.
The sequence solves the so-called Reis problem about convex k-gons in case k=10 (see our comment to A032279). (End)

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • N. Zagaglia Salvi, Ordered partitions and colourings of cycles and necklaces, Bull. Inst. Combin. Appl., 27 (1999), 37-40.

Crossrefs

Column k=10 of A052307.

Programs

  • Mathematica
    k = 10; Table[(Apply[Plus, Map[EulerPhi[ # ]Binomial[n/#, k/# ] &, Divisors[GCD[n, k]]]]/n + Binomial[If[OddQ[n], n - 1, n - If[OddQ[k], 2, 0]]/2, If[OddQ[k], k - 1, k]/2])/2, {n, k, 50}] (* Robert A. Russell, Sep 27 2004 *)
    k=10;CoefficientList[Series[x^k*(1/k Plus@@(EulerPhi[#] (1-x^#)^(-(k/#))&/@Divisors[k])+(1+x)/(1-x^2)^Floor[(k+2)/2])/2,{x,0,50}],x] (* Herbert Kociemba, Nov 04 2016 *)

Formula

From Vladimir Shevelev, Apr 23 2011: (Start)
Put s(n,k,d) = 1, if n == k (mod d), and s(n,k,d) = 0, otherwise. Then a(n) = n*s(n,0,5)/25 + (384*C(n-1,9) + (n+1)*(n-2)*(n-4)*(n-6)*(n-8))/7680, if n is even; a(n) = (n-5)*s(n,0,5)/25 + (384*C(n-1,9) + (n-1)*(n-3)*(n-5)*(n-7)*(n-9))/7680, if n is odd. (End)
From Herbert Kociemba, Nov 04 2016: (Start)
G.f.: (1/20)*x^10*(1/(-1+x)^10 + 10/((-1+x)^6*(1+x)^5) + 1/(1-x^2)^5 + 4/(-1+x^5)^2 - 4/(-1+x^10)).
G.f.: k=10, x^k*((1/k)*Sum_{d|k} phi(d)*(1-x^d)^(-k/d) + (1+x)/(1-x^2)^floor((k+2)/2))/2. [edited by Petros Hadjicostas, Jan 10 2019] (End)

Extensions

Sequence extended and description corrected by Christian G. Bower
Name edited by Petros Hadjicostas, Jan 10 2019