OFFSET
1,2
COMMENTS
A000178 = Sum_{k=1..n} k^(k-1). A001923 = Sum_{k=1..n} k^k. A061789 = Sum_{k=1..n} p(k)^p(k), p(k) = k-th prime. a(n) = number of spanning trees in complete graphs K_i on i <= n labeled nodes. Also is partial sum of counts of parking functions, noncrossing partitions, critical configurations of the chip firing game, allowable pairs sorted by a priority queue. a(14) = 58550453144609 is prime.
FORMULA
a(n) = Sum_{k=2..n} k^(k-2). a(n) = Sum_{k=2..n} A000272(k).
MAPLE
a:=n->sum ((j+2)^j, j=0..n): seq(a(n), n=0..17); # Zerinvary Lajos, Dec 17 2008
MATHEMATICA
Table[Sum[k^(k-2), {k, 2, n}], {n, 2, 25}] (* Harvey P. Dale, Jul 11 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 03 2006
STATUS
approved