OFFSET
0,5
FORMULA
a(n) = LCM(n) * Sum_{j=0..n} (-1)^(n - j) * j! * Stirling2(n, j) / (j + 1), where LCM(n) = lcm(i + 1, i = 0..n).
MATHEMATICA
PROG
(PARI) a(n) = lcm([1..n+1])*subst(bernpol(n), 'x, 1); \\ Michel Marcus, Aug 09 2023
CROSSREFS
KEYWORD
sign
AUTHOR
Peter Luschny, May 14 2023
STATUS
approved