A066068 a(n) = n^n + n.
1, 2, 6, 30, 260, 3130, 46662, 823550, 16777224, 387420498, 10000000010, 285311670622, 8916100448268, 302875106592266, 11112006825558030, 437893890380859390, 18446744073709551632, 827240261886336764194
Offset: 0
Links
- Harry J. Smith, Table of n, a(n) for n=0..100
Programs
-
Magma
[ n^n+n: n in [0..100] ]; // Vincenzo Librandi, Apr 15 2011
-
Mathematica
Table[ n^n + n, {n, 1, 18} ] Table[If[n==0,1,n^n+n],{n,0,18}] (* Vladimir Joseph Stephan Orlovsky, Apr 14 2011 *)
-
PARI
a(n) = n^n + n; \\ Harry J. Smith, Nov 09 2009
Formula
E.g.f.: (1-x*e^x*T(x)+x*e^x)/(1-T(x)), where T(x) is Euler's tree function (see A000169). - Len Smiley, Dec 04 2001
Resultant of nx^n+1 and nx-1. - Ralf Stephan, Nov 20 2004
a(n) = n*A124923(n), n>0. - R. J. Mathar, Oct 31 2015
Sum_{n>=1} 1/a(n) = A286193. - Amiram Eldar, Nov 19 2020