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.

A193198 G.f.: A(x) = Sum_{n>=0} x^n/(1 - 3^n*x)^n.

Original entry on oeis.org

1, 1, 4, 28, 352, 7696, 296704, 19845568, 2325071872, 472050401536, 167325747134464, 102717666720160768, 109887628080679616512, 203517277347030338768896, 656102983404750860283019264, 3660938644168893995628877692928
Offset: 0

Views

Author

Paul D. Hanna, Jul 17 2011

Keywords

Examples

			G.f.: A(x) = 1 + x + 4*x^2 + 28*x^3 + 352*x^4 + 7696*x^5 +...
where:
A(x) = 1 + x/(1-3*x) + x^2/(1-9*x)^2 + x^3/(1-27*x)^3 + x^4/(1-81*x)^4 +...
		

Crossrefs

Programs

  • PARI
    {a(n)=local(A=1);A=1+sum(m=1,n,x^m/(1-3^m*x +x*O(x^n))^m);polcoeff(A,n)}
    
  • PARI
    {a(n)=if(n==0,1,sum(k=0,n-1,binomial(n-1,k)*3^(k*(n-k))))}

Formula

a(n) = Sum_{k=0..n-1} binomial(n-1,k)*3^(k*(n-k)) for n>0 with a(0)=1.