OFFSET
1,3
COMMENTS
If s(n) is a sequence defined by s(0)=x, s(n)=(n+1)*s(n-1)+k, n>0, then s(n) = n!*x +(n! - a(n+1))*k. - Gary Detlefs, Jun 10 2010
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..450
EXAMPLE
a(4) = 4*a(3) - 1 = 4*2 - 1 = 7.
MATHEMATICA
nxt[{n_, a_}]:={n+1, a(n+1)-1}; NestList[nxt, {1, 1}, 30][[All, 2]] (* Harvey P. Dale, Dec 31 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jun 20 2000
EXTENSIONS
More terms from James A. Sellers, Jul 04 2000
STATUS
approved