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!)
A191686 a(n) = n^(n-1) - (n-1)^(n-1) - ... - 2^(n-1) - 1^(n-1). 4
1, 1, 4, 28, 271, 3351, 50478, 896848, 18362109, 425695015, 11023082676, 315332380452, 9876127761371, 336120888377743, 12351836713047770, 487443031053702976, 20559664804361256953, 923012267234425940655, 43944912052993796265952, 2211595951039098481159300 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
a(1)=1 (=1^0), a(2)=1 (=2^1-1^1), a(3)=4 (=3^2-2^2-1^2).
MAPLE
A191686 := proc(n) n^(n-1)-add( i^(n-1), i=1..n-1) ; end proc:
seq(A191686(n), n=1..20) ; # R. J. Mathar, Jun 11 2011
MATHEMATICA
Table[n^(n-1)-Total[Range[n-1]^(n-1)], {n, 20}] (* Harvey P. Dale, Sep 20 2011 *)
CROSSREFS
Sequence in context: A367470 A361049 A245060 * A231694 A112915 A129683
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by R. J. Mathar, Jun 11 2011
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 April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)