login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007925 a(n) = n^(n+1) - (n+1)^n. 18
-1, -1, -1, 17, 399, 7849, 162287, 3667649, 91171007, 2486784401, 74062575399, 2395420006033, 83695120256591, 3143661612445145, 126375169532421599, 5415486851106043649, 246486713303685957375, 11877172892329028459041 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

REFERENCES

G. Everest, A. van der Poorten, I. Shparlinski and T. Ward, Recurrence Sequences, Amer. Math. Soc., 2003; see esp. p. 255.

LINKS

T. D. Noe, Table of n, a(n) for n = 0..100

Sergio Silva, Teste Numerico, Item 3.

H. J. Smith, Contour Plot of z = x^y - y^x

FORMULA

Asymptotic expression for a(n) is a(n) ~ n^n * (n - e). - Ahmed Fares (ahmedfares(AT)my-deja.com), Apr 19 2001

EXAMPLE

a(2) = 1^2 - 2^1 = -1, a(4) = 3^4 - 4^3 = 17.

MAPLE

A007925:=n->n^(n+1)-(n+1)^n: seq(A007925(n), n=0..25); # Wesley Ivan Hurt, Jan 10 2017

MATHEMATICA

lst={}; Do[AppendTo[lst, (n^(n+1)-((n+1)^n))], {n, 0, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 19 2008 *)

#^(#+1)-(#+1)^#&/@Range[0, 20] (* Harvey P. Dale, Oct 22 2011 *)

PROG

(Maxima) A007925[n]:=n^(n+1)-(n+1)^n$ makelist(A007925[n], n, 0, 30); /* Martin Ettl, Oct 29 2012 */

(PARI) a(n)=n^(n+1)-(n+1)^n \\ Charles R Greathouse IV, Feb 06 2017

CROSSREFS

Cf. A051442.

Sequence in context: A318043 A012639 A012200 * A097201 A053106 A158541

Adjacent sequences:  A007922 A007923 A007924 * A007926 A007927 A007928

KEYWORD

sign,easy,nice

AUTHOR

Dennis S. Kluk (mathemagician(AT)ameritech.net)

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 September 20 10:10 EDT 2019. Contains 327229 sequences. (Running on oeis4.)