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
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jun 11 2011
EXTENSIONS
Corrected by R. J. Mathar, Jun 11 2011
STATUS
approved