OFFSET
0,1
REFERENCES
From a quiz.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..448
MATHEMATICA
RecurrenceTable[{a[0]==10, a[n]==n*a[n-1]-n-2}, a, {n, 20}] (* Harvey P. Dale, Oct 20 2015 *)
PROG
(PARI) s=10; for(n=1, 30, s=n*s-n-2; print1(s, ", "); );
(Magma) I:=[7]; [10] cat [n le 1 select I[n] else n*Self(n-1)-n-2: n in [1..30]]; // G. C. Greubel, Mar 11 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Nancy Zhang, Feb 24 2002
EXTENSIONS
More terms from Benoit Cloitre, Mar 10 2002
Terms a(20) onward added by G. C. Greubel, Mar 11 2018
STATUS
approved