login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A281596 a(n) = ((n-2)^n - 2*(n-1)^n + n^n)/2. 2
0, 0, 1, 6, 55, 660, 9751, 170898, 3463615, 79669320, 2050086511, 58346365110, 1819621847407, 61705703989020, 2260586259354151, 88971796139662842, 3743940350046570751, 167735288431662235920, 7971302827015366403551, 400510700317394780627934, 21212944650652080893863087 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..20.

FORMULA

a(n) ~ n^n*(1/2+(1/2-1/n)*e^(-2)+(1/(2*n)-1)*e^(-1)).

MAPLE

a := n -> ((n-2)^n-2*(n-1)^n+n^n)/2:

seq(a(n), n=0..21);

CROSSREFS

Cf. A000312, A045531, A281595.

Sequence in context: A006200 A243691 A151345 * A095652 A132689 A323876

Adjacent sequences:  A281593 A281594 A281595 * A281597 A281598 A281599

KEYWORD

nonn

AUTHOR

Peter Luschny, Jan 26 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 1 22:12 EST 2021. Contains 349435 sequences. (Running on oeis4.)