login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A095937
a(n) = Sum_{k=0..n} (k-1)^k.
0
1, 2, 10, 91, 1115, 16740, 296676, 6061477, 140279205, 3627063606, 103627063606, 3242055440327, 110235260819399, 4047611646518688, 159615707204330912, 6728024062917221537, 301875929242270047393, 14364960381309995038402
OFFSET
1,2
LINKS
Sergio Silva, Teste Numerico [Dead link]
MAPLE
a:=n->sum ((j-1)^j, j=0..n): seq(a(n), n=1..19); # Zerinvary Lajos, Dec 17 2008
PROG
(PARI) a(n) = sum(k=0, n, (k-1)^k); \\ Michel Marcus, Aug 17 2017
CROSSREFS
Sequence in context: A067550 A086587 A082472 * A277380 A108528 A181136
KEYWORD
nonn
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Jul 13 2004
EXTENSIONS
Offset corrected by Michel Marcus, Aug 17 2017
STATUS
approved