OFFSET
1,2
COMMENTS
Partial sums of A098558. - Sébastien Desbordes, Dec 18 2023
LINKS
Sébastien Desbordes, Showing why it is the partial sums of A098558
FORMULA
From Vladeta Jovovic, Dec 20 2001: (Start)
a(n) = n*a(n-1) - (n-1)*a(n-2), a(0)=-1, a(1)=1.
a(n) = 2*A003422(n) - 1. (End)
MATHEMATICA
RecurrenceTable[{a[0]==-1, a[1]==1, a[n]==n*a[n-1]-(n-1)a[n-2]}, a, {n, 30}] (* Harvey P. Dale, Dec 10 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Markus Sullivan (markus(AT)o-reading.co.uk), Dec 19 2001
EXTENSIONS
More terms from Jason Earls, Jan 13 2002
STATUS
approved