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.

A308037 a(n) = Sum_{d|n} Stirling2(n,d).

Original entry on oeis.org

1, 2, 2, 9, 2, 123, 2, 1830, 3027, 43038, 2, 2023728, 2, 49337473, 213142023, 2313595723, 2, 216927216877, 2, 6712023695345, 82312699558575, 366282502967439, 2, 113350450913387211, 2436684974110753, 1850568574287104493, 106563274551407600878, 231678790379913209098, 2
Offset: 1

Views

Author

Ilya Gutkovskiy, May 10 2019

Keywords

Crossrefs

Programs

  • Maple
    a:= n-> add(Stirling2(n, d), d=numtheory[divisors](n)):
    seq(a(n), n=1..30);  # Alois P. Heinz, May 10 2019
  • Mathematica
    a[n_] := a[n] = Sum[StirlingS2[n, d], {d, Divisors[n]}]; Table[a[n], {n, 1, 29}]
  • PARI
    a(n) = sumdiv(n, d, stirling(n, d, 2)); \\ Michel Marcus, May 10 2019

Formula

a(n) = 2 <=> n is prime <=> n in { A000040 }. - Alois P. Heinz, May 10 2019