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.

A062805 a(n) = Sum_{i=1..n} i*n^(n-i).

This page as a plain text file.
%I A062805 #16 Aug 25 2021 10:08:55
%S A062805 0,1,4,18,112,975,11196,160132,2739136,54481005,1234567900,
%T A062805 31384283766,884241366768,27342891567355,920521275490012,
%U A062805 33512287529147400,1311768467463790336,54933923640889550745,2450641333409472928572,116018436597364068498010
%N A062805 a(n) = Sum_{i=1..n} i*n^(n-i).
%H A062805 Harry J. Smith, <a href="/A062805/b062805.txt">Table of n, a(n) for n = 0..100</a>
%F A062805 a(n) = (n^(n+1) - n^2)/(n-1)^2 for n > 1. - _Dean Hickerson_, Jun 26 2001
%e A062805 a(0) = 0*0^0 = 0*1 = 0;
%e A062805 a(1) = 0*1^1 + 1*1^0 = 0 + 1 = 1;
%e A062805 a(2) = 0*2^2 + 1*2^1 + 2*2^0 = 0 + 2 + 2 = 4;
%e A062805 a(3) = 0*3^3 + 1*3^2 + 2*3^1 + 3*3^0 = 0 + 9 + 2*3 + 3*1 = 18.
%t A062805 Table[Sum[i*n^(n-i),{i,n}],{n,0,20}] (* _Harvey P. Dale_, Aug 02 2021 *)
%o A062805 (PARI) a(n)={if(n>1, (n^(n + 1) - n^2)/(n - 1)^2, n)} \\ _Harry J. Smith_, Aug 11 2009
%K A062805 nonn,easy
%O A062805 0,3
%A A062805 _Olivier Gérard_, Jun 23 2001
%E A062805 Prior Mathematica program modified by _Harvey P. Dale_, Aug 02 2021