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.

A357931 a(n) = Sum_{k=0..floor(n/3)} |Stirling1(n - 2*k,n - 3*k)|.

Original entry on oeis.org

1, 1, 1, 1, 2, 4, 7, 13, 27, 57, 120, 262, 593, 1361, 3171, 7559, 18356, 45186, 112927, 286689, 737641, 1921639, 5070154, 13540352, 36566737, 99830013, 275459693, 767798853, 2160953618, 6139721116, 17604534427, 50924095081, 148570523479, 437071675997
Offset: 0

Views

Author

Seiichi Manyama, Oct 21 2022

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[Abs[StirlingS1[n-2k,n-3k]],{k,0,Floor[n/3]}],{n,0,40}] (* Harvey P. Dale, Nov 01 2023 *)
  • PARI
    a(n) = sum(k=0, n\3, abs(stirling(n-2*k, n-3*k, 1)));
    
  • PARI
    my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, x^k*prod(j=0, k-1, 1+j*x^2)))

Formula

G.f.: Sum_{k>=0} x^k * Product_{j=0..k-1} (1 + j * x^2).

A357933 a(n) = Sum_{k=0..floor(n/5)} |Stirling1(n - 4*k,n - 5*k)|.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 4, 7, 11, 16, 24, 40, 72, 131, 231, 395, 675, 1187, 2161, 4006, 7414, 13609, 24951, 46210, 86930, 165528, 316682, 606047, 1161343, 2237329, 4345777, 8507103, 16738587, 33030166, 65352308, 129821251, 259254283, 520531422, 1049771054, 2124315222
Offset: 0

Views

Author

Seiichi Manyama, Oct 21 2022

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=0, n\5, abs(stirling(n-4*k, n-5*k, 1)));
    
  • PARI
    my(N=50, x='x+O('x^N)); Vec(sum(k=0, N, x^k*prod(j=0, k-1, 1+j*x^4)))

Formula

G.f.: Sum_{k>=0} x^k * Product_{j=0..k-1} (1 + j * x^4).
Showing 1-2 of 2 results.