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.

A120445 Number of different convex inscribed polygons with n pair of sides of lengths d1, d2, ..., dn all distinct. Or number of bracelets with n pairs of beads, each pair of one among n colors.

Original entry on oeis.org

1, 2, 11, 171, 5736, 312240, 24327000, 2554072920, 347351195520, 59397023589120, 12473374574505600, 3155763762320400000, 946729128624509260800, 332301924146113021900800, 134914581203304233287756800, 62735280259536165098353536000, 33124227977035089658775531520000
Offset: 1

Views

Author

Keywords

Examples

			a(2) = 2 because there are two quadrilaterals with sides {1, 1, 2, 2}: a kite and a rectangle.
		

Programs

  • Magma
    [(Factorial(2*n)/2^n+(n+1)*Factorial(n)+n*Factorial(n))/(4*n): n in [1..20]]; // Vincenzo Librandi, Nov 22 2016
    
  • Mathematica
    Table[((2 n)! / 2^n + (n + 1) n! + n n!) / (4 n), {n, 20}] (* Vincenzo Librandi, Nov 22 2016 *)
  • PARI
    for(n=1,25, print1(((2*n)!/2^n + (2*n+1)*n!)/(4*n), ", ")) \\ G. C. Greubel, May 25 2017

Formula

a(n) = ((2n)!/2^n + (2n+1)*n!)/(4n).
a(n) ~ sqrt(Pi)*2^n*n^(2*n-1/2)/(2*exp(2*n)). - Ilya Gutkovskiy, Nov 21 2016

Extensions

Name clarified by Marko Riedel, Nov 22 2016