login
This site is supported by donations 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). 3
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

Seiichi Manyama, Table of n, a(n) for n = 1..387

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

Cf. A031971, A000169.

Sequence in context: A316144 A138272 A245060 * A231694 A112915 A129683

Adjacent sequences:  A191683 A191684 A191685 * A191687 A191688 A191689

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Jun 11 2011

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 18 04:28 EDT 2019. Contains 328145 sequences. (Running on oeis4.)