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.

A054358 Number of unlabeled asymmetric 2-ary cacti having n polygons.

Original entry on oeis.org

1, 1, 0, 1, 2, 8, 18, 61, 170, 538, 1654, 5344, 17252, 57146, 190786, 646305, 2209050, 7626164, 26532732, 93013852, 328196780, 1165060170, 4158266282, 14915635376, 53745892932, 194477856048, 706436256598, 2575316698792, 9419568272632
Offset: 0

Views

Author

Keywords

Crossrefs

Column k=2 of A303913.

Programs

  • Mathematica
    a[0] = 1; a[n_] := DivisorSum[n, MoebiusMu[n/#] Binomial[2#, #]&]/n - Binomial[2n, n]/(n+1);
    Table[a[n], {n, 0, 28}] (* Jean-François Alcover, Jul 01 2018, after Andrew Howroyd *)
  • PARI
    a(n) = if(n==0, 1, sumdiv(n, d, moebius(n/d)*binomial(2*d, d))/n - binomial(2*n, n)/(n+1)) \\ Andrew Howroyd, May 02 2018

Formula

a(n) = (1/n)*(Sum_{d|n} mu(n/d)*binomial(2*d, d)) - binomial(2*n, n)/(n+1) for n > 0. - Andrew Howroyd, May 02 2018

Extensions

More terms from Vladeta Jovovic, Oct 04 2007