cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A189001 a(n) = Sum_{i=0..n} (i+1)*n^i.

Original entry on oeis.org

1, 3, 17, 142, 1593, 22461, 380713, 7526268, 169826513, 4303999495, 120987654321, 3734729768298, 125562274081225, 4566262891748481, 178581127445062553, 7473240118999870456, 333189190735802745633, 15766036084935301064139
Offset: 0

Views

Author

Bruno Berselli, Apr 15 2011

Keywords

Examples

			a(4) = 1593  because  1593 = 1+2*4+3*4^2+4*4^3+5*4^4.
		

Crossrefs

Cf. A189122: Sum_{i=0..n} (i+1)^2*n^i.

Programs

  • Magma
    [&+[(k+1)*n^k: k in [0..n]]: n in [0..17]];
  • Mathematica
    Join[{1, 3}, Table[(((n^2 - 2) n^(n + 1) + 1) / (n - 1)^2), {n, 2, 20}]] (* Vincenzo Librandi, Aug 19 2013 *)

Formula

a(n) = ((n^2-2)*n^(n+1)+1)/(n-1)^2 for n > 1; a(0)=1, a(1)=3.
Showing 1-1 of 1 results.