OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(0)=8, a(n) = n*a(n-1)-n+1.
E.g.f.: 7/(1-x)+exp(x). - Geoffrey Critzer, Sep 30 2013
MATHEMATICA
Table[7 n! + 1, {n, 0, 25}]
PROG
(Magma) [7*Factorial(n)+1: n in [0..25]]; /* or */ [8] cat [n eq 1 select n+7 else n*Self(n-1)-n+1: n in [1..25]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 30 2013
STATUS
approved