A081132 a(n) = (n+1)^n*binomial(n+2,2).
1, 6, 54, 640, 9375, 163296, 3294172, 75497472, 1937102445, 55000000000, 1711870023666, 57954652913664, 2120125746145771, 83340051191685120, 3503151123046875000, 156797324626531188736, 7445162356977030877593
Offset: 0
Examples
a(1) = 6 because there are four functions from {1,2} into {1,2}: (1*,1) (1*,2*) (2,1) (2,2*) and the fixed points (marked *) sum to 6.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..300
Crossrefs
Programs
-
Magma
[((n+1)^n*Binomial(n+2,2)): n in [0..20]]; // Vincenzo Librandi, Sep 21 2011
-
Maple
seq((n+1)^n*binomial(n+2,2), n=0..20); # G. C. Greubel, May 18 2021
-
Mathematica
Table[n^n*(n+1)/2,{n,20}]
-
Sage
[(n+1)^n*binomial(n+2,2) for n in (0..20)] # G. C. Greubel, May 18 2021
Formula
a(n) = (n+1)^n*binomial(n+2,2).
Comments