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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A001099 a(n) = n^n - a(n-1), with a(1) = 1. 2
1, 3, 24, 232, 2893, 43763, 779780, 15997436, 371423053, 9628576947, 275683093664, 8640417354592, 294234689237661, 10817772136320355, 427076118244539020, 18019667955465012596, 809220593930871751581, 38537187481365665823843, 1939882468178947923300136 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

Absolute value of Sum[k^k*(-1)^(k+1),{k,1,n}]. a(n) = n^n - (n-1)^(n-1) + (n-2)^(n-2) - ... - (-1)^n*1^1. - Alexander Adamchuk, Jun 30 2006

MATHEMATICA

Abs[Table[Sum[k^k*(-1)^(k+1), {k, 1, n}], {n, 1, 30}]] - Alexander Adamchuk, Jun 30 2006

RecurrenceTable[{a[1]==1, a[n]==n^n-a[n-1]}, a, {n, 20}] (* Harvey P. Dale, Jan 21 2015 *)

CROSSREFS

Cf. A001923.

Sequence in context: A225107 A249926 A279651 * A277462 A230325 A080523

Adjacent sequences:  A001096 A001097 A001098 * A001100 A001101 A001102

KEYWORD

nonn

AUTHOR

Ed Smiley

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 08:15 EDT 2018. Contains 316337 sequences. (Running on oeis4.)