login
A098462
a(n) = n^n + (n+1)^n.
0
2, 3, 13, 91, 881, 10901, 164305, 2920695, 59823937, 1387420489, 35937424601, 1028320041299, 32214185570737, 1096589879846397, 40304932850948641, 1590815394987706351, 67107935949376420097, 3013151821625033296145, 143473758373207779108265
OFFSET
0,1
FORMULA
From Alois P. Heinz, Mar 19 2020: (Start)
a(n) = A000312(n) + A000169(n+1).
E.g.f.: (x-LambertW(-x))/((1+LambertW(-x))*x). (End)
PROG
(PARI) a(n) = n^n + (n+1)^n; \\ Jinyuan Wang, Mar 19 2020
CROSSREFS
Cf. A000169, A000312, A045531 (n^n-(n-1)^n), A055869 ((n+1)^n-n^n).
Sequence in context: A224239 A361520 A068096 * A125283 A098406 A280012
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Sep 08 2004
EXTENSIONS
a(0)=2 prepended by Alois P. Heinz, Mar 19 2020
STATUS
approved