login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046065 a(n) = n^(n+2) - (n+2)^n. 9
-1, -2, 0, 118, 2800, 61318, 1417472, 35570638, 973741824, 29023111918, 938082635776, 32730551749894, 1227224552173568, 49239697945731382, 2105895743771443200, 95663702284183543582, 4600926951773050961920, 233592048827366522661214 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..350

FORMULA

a(n) = n^(n+2) - (n+2)^n.

MATHEMATICA

a[n_]:=n^(n+2)-(n+2)^n; lst={}; Do[AppendTo[lst, a[n]], {n, 0, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Dec 20 2008 *)

PROG

(MAGMA) [n^(n+2) -(n+2)^n: n in [0..40]]; // G. C. Greubel, Jul 14 2021

(Sage) [n^(n+2) -(n+2)^n for n in (0..40)] # G. C. Greubel, Jul 14 2021

CROSSREFS

Cf. A007925 (n^(n+1) - (n+1)^n).

Sequence in context: A009270 A033838 A181373 * A339185 A003321 A012333

Adjacent sequences:  A046062 A046063 A046064 * A046066 A046067 A046068

KEYWORD

sign

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 03:07 EDT 2022. Contains 356029 sequences. (Running on oeis4.)