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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068983 Sigma(k^k-k!). 0
0, 2, 23, 255, 3260, 49196, 867699, 17604595, 404662204, 10401033404, 295672787215, 9211294233871, 312080173805324, 11423999821072140, 449316582527563515, 18896039733447227131, 846135945932355895308 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(n) = number of non-injective functions [k]->[k] for 1<=k<=n.

FORMULA

a(n) = sigma(k^k-k!) for k = 1 to n

EXAMPLE

a(4) = 255 because (1^1-1!)+(2^2-2!)+(3^3-3!)+(4^4-4!) = 255

MATHEMATICA

Accumulate[Table[n^n-n!, {n, 20}]] (* From Harvey P. Dale, Aug 21 2011 *)

CROSSREFS

Cf. A036679.

Sequence in context: A088087 A088085 A168128 * A083427 A083470 A064110

Adjacent sequences:  A068980 A068981 A068982 * A068984 A068985 A068986

KEYWORD

easy,nonn

AUTHOR

Darrell Minor (dminor(AT)cscc.edu), Apr 02 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.