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.

A293005 Number of associative, quasitrivial, and order-preserving binary operations on the n-element set {1,...,n}.

Original entry on oeis.org

0, 1, 4, 12, 34, 94, 258, 706, 1930, 5274, 14410, 39370, 107562, 293866, 802858, 2193450, 5992618, 16372138, 44729514, 122203306, 333865642, 912137898, 2492007082, 6808289962, 18600594090, 50817768106, 138836724394, 379308985002, 1036291418794, 2831200807594
Offset: 0

Views

Author

J. Devillet, Sep 28 2017

Keywords

Crossrefs

Programs

  • PARI
    concat(0, Vec(x*(1 + x) / ((1 - x)*(1 - 2*x - 2*x^2)) + O(x^30))) \\ Colin Barker, Sep 28 2017

Formula

G.f.: x(x+1) / (2x^3-3*x+1).
a(0) = 0, a(1) = 1, a(n+2)-2*a(n+1)-2*a(n) = 2.
3*a(n)+2 = Sum_{k>=0} (2*binomial(n,2*k)+3*binomial(n,2*k+1))*3^k.
From Colin Barker, Sep 28 2017: (Start)
a(n) = (-4 - (1-sqrt(3))^n*(-2+sqrt(3)) + (1+sqrt(3))^n*(2+sqrt(3))) / 6.
a(n) = 3*a(n-1) - 2*a(n-2) for n>2. (End)
E.g.f.: exp(x)*(2*cosh(sqrt(3)*x) + sqrt(3)*sinh(sqrt(3)*x) - 2)/3. - Stefano Spezia, Apr 11 2025