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.

Showing 1-2 of 2 results.

A030266 Shifts left under COMPOSE transform with itself.

Original entry on oeis.org

0, 1, 1, 2, 6, 23, 104, 531, 2982, 18109, 117545, 808764, 5862253, 44553224, 353713232, 2924697019, 25124481690, 223768976093, 2062614190733, 19646231085928, 193102738376890, 1956191484175505, 20401540100814142, 218825717967033373, 2411606083999341827
Offset: 0

Views

Author

Keywords

Examples

			G.f.: A(x) = x + x^2 + 2*x^3 + 6*x^4 + 23*x^5 + 104*x^6 + ...
A(A(x)) = x + 2*x^2 + 6*x^3 + 23*x^4 + 104*x^5 + 531*x^6 + ...
		

Crossrefs

Programs

  • Maple
    A:= proc(n) option remember;
          unapply(`if`(n=0, x,
          A(n-1)(x)+coeff(A(n-1)(A(n-1)(x)), x, n) *x^(n+1)), x)
        end:
    a:= n-> coeff(A(n)(x),x,n):
    seq(a(n), n=0..20);  # Alois P. Heinz, Feb 24 2012
  • Mathematica
    A[0] = Identity; A[n_] := A[n] = Function[x, Evaluate[A[n-1][x]+Coefficient[A[n-1][A[n-1][x]], x, n]*x^(n+1)]]; a[n_] := Coefficient[A[n][x], x, n]; Table[a[n], {n, 0, 22}] (* Jean-François Alcover, Feb 17 2014, after Alois P. Heinz *)
    CoefficientList[Nest[x + x (# /. x -> #) &, O[x], 30], x] (* Vladimir Reshetnikov, Aug 08 2019 *)
  • PARI
    {a(n)=local(A=1+x);for(i=0,n,A=1+x*A*subst(A,x,x*A+x*O(x^n)));polcoeff(A,n)} \\ Paul D. Hanna, Mar 10 2007
    
  • PARI
    {a(n)=local(A=sum(i=1,n-1,a(i)*x^i)+x*O(x^n));if(n==0,0,polcoeff((1+A)^n/n,n-1))} \\ Paul D. Hanna, Nov 18 2008
    
  • PARI
    {a(n,m=1)=if(n==0,1,if(m==0,0^n,sum(k=0,n,m*binomial(n+m,k)/(n+m)*a(n-k,k))))} \\ Paul D. Hanna, Jul 09 2009
    
  • PARI
    {a(n)=local(A=1+sum(i=1,n-1,a(i)*x^i+x*O(x^n)));
    for(i=1,n,A=exp(sum(m=1,n,sum(k=0,n-m,binomial(m+k-1,k)*polcoeff(A^(2*m),k)*x^k)*x^m/m)+x*O(x^n)));polcoeff(A,n)} \\ Paul D. Hanna, Dec 15 2010

Formula

G.f. A(x) satisfies the functional equation: A(x)-x = x*A(A(x)). - Paul D. Hanna, Aug 04 2002
G.f.: A(x/(1+A(x))) = x. - Paul D. Hanna, Dec 04 2003
Suppose the functions A=A(x), B=B(x), C=C(x), etc., satisfy: A = 1 + xAB, B = 1 + xABC, C = 1 + xABCD, D = 1 + xABCDE, etc., then B(x)=A(x*A(x)), C(x)=B(x*A(x)), D(x)=C(x*A(x)), etc., where A(x) = 1 + x*A(x)*A(x*A(x)) and x*A(x) is the g.f. of this sequence (see table A128325). - Paul D. Hanna, Mar 10 2007
G.f. A(x) = x*F(x,1) where F(x,n) satisfies: F(x,n) = F(x,n-1)*(1 + x*F(x,n+1)) for n>0 with F(x,0)=1. - Paul D. Hanna, Apr 16 2007
a(n) = [x^(n-1)] [1 + A(x)]^n/n for n>=1 with a(0)=0; i.e., a(n) equals the coefficient of x^(n-1) in [1+A(x)]^n/n for n >= 1. - Paul D. Hanna, Nov 18 2008
From Paul D. Hanna, Jul 09 2009: (Start)
Let A(x)^m = Sum_{n>=0} a(n,m)*x^n with a(0,m)=1, then
a(n,m) = Sum_{k=0..n} m*C(n+m,k)/(n+m) * a(n-k,k).
(End)
G.f. satisfies:
* A(x) = x*exp( Sum_{m>=0} {d^m/dx^m A(x)^(m+1)/x} * x^(m+1)/(m+1)! );
* A(x) = x*exp( Sum_{m>=1} [Sum_{k>=0} C(m+k-1,k)*{[y^k] A(y)^m/y^m}*x^k]*x^m/m );
which are equivalent. - Paul D. Hanna, Dec 15 2010
The g.f. satisfies:
log(A(x)/x) = A(x) + {d/dx A(x)^2/x}*x^2/2! + {d^2/dx^2 A(x)^3/x}*x^3/3! + {d^3/dx^3 A(x)^4/x}*x^4/4! + ... - Paul D. Hanna, Dec 15 2010

A001028 E.g.f. satisfies A'(x) = 1 + A(A(x)), A(0)=0.

Original entry on oeis.org

1, 1, 2, 7, 37, 269, 2535, 29738, 421790, 7076459, 138061343, 3089950076, 78454715107, 2238947459974, 71253947372202, 2511742808382105, 97495087989736907, 4145502184671892500, 192200099033324115855, 9676409879981926733908, 527029533717566423156698
Offset: 1

Views

Author

Keywords

Comments

The e.g.f. is diverging (see the Math Overflow link). - Pietro Majer, Jan 29 2017

References

  • This functional equation (for f(x)=1+A(x-1)) was the subject of problem B5 of the 2010 Putnam exam.

Crossrefs

Programs

  • Maple
    A:= proc(n) option remember; local T; if n=0 then 0 else T:= A(n-1); unapply(convert(series(Int(1+T(T(x)), x), x, n+1), polynom), x) fi end: a:= n-> coeff(A(n)(x), x, n)*n!: seq(a(n), n=1..22); # Alois P. Heinz, Aug 23 2008
  • Mathematica
    terms = 21; A[] = 0; Do[A[x] = x + Integrate[A[A[x]], x] + O[x]^(n+1) // Normal, {n, terms}];
    Rest[CoefficientList[A[x], x]]*Range[terms]! (* Jean-François Alcover, Dec 07 2011, updated Jan 10 2018 *)
  • Maxima
    Co(n,k,a):= if k=1 then a(n) else sum(a(i+1)*Co(n-i-1,k-1,a), i,0,n-k); a(n):= if n=1 then 1 else (1/n)*sum(Co(n-1,k,a)*a(k),k,1,n-1); makelist(n!*a(n),n,1,7); /* Vladimir Kruchinin, Jun 30 2011 */
    
  • PARI
    {a(n) = my(A=x); for(i=1,n, A = serreverse(intformal(1/(1+A) +x*O(x^n)))); n!*polcoeff(A,n)}
    for(n=1,25,print1(a(n),", ")) \\ Paul D. Hanna, Jun 27 2015

Formula

E.g.f. satisfies: A(x) = Series_Reversion( Integral 1/(1 + A(x)) dx ). - Paul D. Hanna, Jun 27 2015

Extensions

More terms from Christian G. Bower, Oct 15 1998
Corrected by Alois P. Heinz, Aug 23 2008
Two more terms from Sean A. Irvine, Feb 22 2012
Showing 1-2 of 2 results.