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.

A193374 E.g.f.: A(x) = exp( Sum_{n>=1} x^(n*(n+1)/2) / (n*(n+1)/2) ).

Original entry on oeis.org

1, 1, 1, 3, 9, 21, 201, 1191, 4593, 36009, 620721, 5297931, 40360761, 474989373, 4345942329, 122776895151, 2118941145441, 21344580276561, 303071564084193, 4476037678611219, 59935820004483561, 3838519441659950181, 78361805638079449641, 949279542954821272503
Offset: 0

Views

Author

Paul D. Hanna, Jul 24 2011

Keywords

Comments

Number of permutations of [n] whose cycle lengths are triangular numbers. - Alois P. Heinz, May 12 2016

Examples

			E.g.f.: A(x) = 1 + x + x^2/2! + 3*x^3/3! + 9*x^4/4! + 21*x^5/5! + 201*x^6/6! +...
where
log(A(x)) = x + x^3/3 + x^6/6 + x^10/10 + x^15/15 + x^21/21 +...
		

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=0, 1, add(`if`(issqr(8*j+1),
           a(n-j)*(j-1)!*binomial(n-1, j-1), 0), j=1..n))
        end:
    seq(a(n), n=0..25);  # Alois P. Heinz, May 12 2016
  • Mathematica
    a[n_] := a[n] = If[n == 0, 1, Sum[If[IntegerQ @ Sqrt[8*j + 1], a[n - j]*(j - 1)!*Binomial[n - 1, j - 1], 0], {j, 1, n}]];
    Table[a[n], {n, 0, 25}] (* Jean-François Alcover, Jun 05 2018, after Alois P. Heinz *)
  • PARI
    {a(n)=n!*polcoeff(exp(sum(m=1,sqrtint(2*n+1),x^(m*(m+1)/2)/(m*(m+1)/2)+x*O(x^n))),n)}

A205800 Expansion of e.g.f. exp( Sum_{n>=1} x^(n^2) ).

Original entry on oeis.org

1, 1, 1, 1, 25, 121, 361, 841, 21841, 547345, 4541041, 23292721, 169658281, 7550279881, 95230199065, 692107448761, 25431412450081, 563675083228321, 9791797014753121, 112525775579561185, 3370231071632996281, 65798618669268652441, 1345746844683430533961
Offset: 0

Views

Author

Paul D. Hanna, Jan 31 2012

Keywords

Examples

			E.g.f.: A(x) = 1 + x + x^2/2! + x^3/3! + 25*x^4/4! + 121*x^5/5! +...
where
log(A(x)) = x + x^4 + x^9 + x^16 + x^25 + x^36 + x^49 + x^64 +...
		

Crossrefs

Programs

  • Maple
    seq(coeff(series(factorial(n)*(exp(add(x^(k^2),k=1..n))),x,n+1), x, n), n = 0 .. 25); # Muniru A Asiru, Oct 23 2018
  • Mathematica
    With[{nn=30},CoefficientList[Series[Exp[Sum[x^n^2,{n,nn}]],{x,0,nn}],x] Range[0,nn]!] (* Harvey P. Dale, Apr 01 2020 *)
  • PARI
    {a(n)=n!*polcoeff(exp(sum(m=1, sqrtint(n+1), x^(m^2)+x*O(x^n))), n)}
    
  • PARI
    a(n) = if(n==0, 1, (n-1)!*sum(k=1, sqrtint(n), k^2*a(n-k^2)/(n-k^2)!)); \\ Seiichi Manyama, Apr 29 2022

Formula

E.g.f.: exp((theta_3(x) - 1)/2), where theta_3() is the Jacobi theta function. - Ilya Gutkovskiy, Oct 23 2018
a(0) = 1; a(n) = (n-1)! * Sum_{k=1..floor(sqrt(n))} k^2 * a(n-k^2)/(n-k^2)!. - Seiichi Manyama, Apr 29 2022
Showing 1-2 of 2 results.