login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A308037 a(n) = Sum_{d|n} Stirling2(n,d). 9
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 2 <=> n is prime <=> n in { A000040 }. - Alois P. Heinz, May 10 2019
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}]
PROG
(PARI) a(n) = sumdiv(n, d, stirling(n, d, 2)); \\ Michel Marcus, May 10 2019
CROSSREFS
Sequence in context: A327859 A343824 A182106 * A011403 A113554 A085846
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 10 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 21:02 EDT 2024. Contains 370951 sequences. (Running on oeis4.)