OFFSET
0,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..250
FORMULA
a(n) = n*(n^(n+1) + n^2 - 2) / (2*(n-1)) for n>1.
PROG
(Haskell)
a108397 0 = 0
a108397 1 = 2
a108397 n = n * (n^(n+1) + n^2 - 2) `div` (2 * (n-1))
-- Reinhard Zumkeller, Mar 31 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 02 2005
STATUS
approved