Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A003101
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A003101 Sum_{k = 1..n} (n-k+1)^k.
(Formerly M2745)
+0
16
0, 1, 3, 8, 22, 65, 209, 732, 2780, 11377, 49863, 232768, 1151914, 6018785, 33087205, 190780212, 1150653920, 7241710929, 47454745803, 323154696184, 2282779990494, 16700904488705, 126356632390297 (list; graph; listen)
OFFSET

0,3

LINKS

R. K. Hoeflin, Mega Test

EXAMPLE

For n = 3 we get a(3) = 3^1 + 2^2 + 1^3 = 8. For n = 4 we get a(4) = 4^1 + 3^2 + 2^3 + 1^4 = 22.

MAPLE

A003101 := n->add((n-k+1)^k, k=1..n);

P:=proc(n) local a, i, k; for i from 0 by 1 to n do k:=i; a:=0; while k>0 do a:=a+k^(i-k+1); k:=k-1; od; print(a); od; end: P(100); - Paolo P. Lava (ppl(AT)spl.at), Feb 29 2008

a:=n->sum((n-j)^j, j=1..n): seq(a(n), n=1..23); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jun 07 2008

CROSSREFS

a(n) = A026898(n)-1

First differences are in A047970.

Cf. A062810.

Sequence in context: A014138 A099324 A117420 this_sequence A064443 A000732 A092090

Adjacent sequences: A003098 A003099 A003100 this_sequence A003102 A003103 A003104

KEYWORD

nonn,easy

AUTHOR

njas, H. W. Gould

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 7 23:08 EDT 2008. Contains 143486 sequences.


AT&T Labs Research