OFFSET
0,4
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
PROG
(PARI) \\ See A351637 for P, R.
seq(n)={my(u=P(n)); concat([1], sum(k=1, n, R(u, k)*sum(r=k, 3, binomial(r, k)*(-1)^(r-k)/r!) ))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Andrew Howroyd, Feb 15 2022
STATUS
approved