OFFSET
1,1
FORMULA
a(n) = Sum_{k=1..n} |Stirling1(n,k)|*prime(k).
MAPLE
a:= n-> add(ithprime(k)*abs(Stirling1(n, k)), k=1..n):
seq(a(n), n=1..30); # Alois P. Heinz, Apr 27 2019
MATHEMATICA
nmax = 22; Rest[CoefficientList[Series[Sum[Prime[k] Log[1/(1 - x)]^k/k!, {k, 1, nmax}], {x, 0, nmax}], x] Range[0, nmax]!]
Table[Sum[Abs[StirlingS1[n, k]] Prime[k], {k, 1, n}], {n, 1, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 27 2019
STATUS
approved