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.

A357720 Square array T(n,k), n>=0, k>=0, read by antidiagonals, where column k is the expansion of e.g.f. cos( sqrt(k) * log(1+x) ).

Original entry on oeis.org

1, 1, 0, 1, 0, 0, 1, 0, -1, 0, 1, 0, -2, 3, 0, 1, 0, -3, 6, -10, 0, 1, 0, -4, 9, -18, 40, 0, 1, 0, -5, 12, -24, 60, -190, 0, 1, 0, -6, 15, -28, 60, -216, 1050, 0, 1, 0, -7, 18, -30, 40, -84, 756, -6620, 0, 1, 0, -8, 21, -30, 0, 200, -756, -1620, 46800, 0, 1, 0, -9, 24, -28, -60, 630, -3360, 13104, -14256, -365300, 0
Offset: 0

Views

Author

Seiichi Manyama, Oct 10 2022

Keywords

Examples

			Square array begins:
  1,   1,   1,   1,   1,   1, ...
  0,   0,   0,   0,   0,   0, ...
  0,  -1,  -2,  -3,  -4,  -5, ...
  0,   3,   6,   9,  12,  15, ...
  0, -10, -18, -24, -28, -30, ...
  0,  40,  60,  60,  40,   0, ...
		

Crossrefs

Columns k=0-4 give: A000007, (-1)^n * A003703, A357693, A357718, A357719.
Main diagonal gives A357721.

Programs

  • PARI
    T(n, k) = sum(j=0, n\2, (-k)^j*stirling(n, 2*j, 1));
    
  • PARI
    T(n, k) = (-1)^n*round((prod(j=0, n-1, sqrt(k)*I+j)+prod(j=0, n-1, -sqrt(k)*I+j)))/2;

Formula

T(n,k) = Sum_{j=0..floor(n/2)} (-k)^j * Stirling1(n,2*j).
T(n,k) = (-1)^n * ( (sqrt(k) * i)_n + (-sqrt(k) * i)_n )/2, where (x)_n is the Pochhammer symbol and i is the imaginary unit.
T(0,k) = 1, T(1,k) = 0; T(n,k) = -(2*n-3) * T(n-1,k) - (n^2-4*n+4+k) * T(n-2,k).

A357729 a(n) = Sum_{k=0..floor(n/2)} (-n)^k * Stirling2(n,2*k).

Original entry on oeis.org

1, 0, -2, -9, -12, 175, 1938, 9506, -24248, -1065663, -12021610, -56195425, 677072220, 19979234080, 251733387514, 1135594212255, -29317384858352, -901607623649489, -13233854770928514, -68574233644270566, 2258648937829442660, 81748108921355457777
Offset: 0

Views

Author

Seiichi Manyama, Oct 11 2022

Keywords

Crossrefs

Main diagonal of A357728.

Programs

  • PARI
    a(n) = sum(k=0, n\2, (-n)^k*stirling(n, 2*k, 2));
    
  • PARI
    a(n) = round(n!*polcoef(cos(sqrt(n)*(exp(x+x*O(x^n))-1)), n));
    
  • PARI
    Bell_poly(n, x) = exp(-x)*suminf(k=0, k^n*x^k/k!);
    a(n) = round((Bell_poly(n, sqrt(n)*I)+Bell_poly(n, -sqrt(n)*I)))/2;

Formula

a(n) = n! * [x^n] cos( sqrt(n) * (exp(x) - 1) ).
a(n) = ( Bell_n(sqrt(n) * i) + Bell_n(-sqrt(n) * i) )/2, where Bell_n(x) is n-th Bell polynomial and i is the imaginary unit.
Showing 1-2 of 2 results.