The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A347274 a(n) = Sum_{j=1..n} j*n^(n+1-j). 1
1, 8, 54, 448, 4875, 67176, 1120924, 21913088, 490329045, 12345679000, 345227121426, 10610896401216, 355457590375615, 12887297856860168, 502684312937211000, 20988295479420645376, 933876701895122362665, 44111544001370512714296, 2204350295349917301462190 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = (n^n - n)*(n/(n-1))^2 for n > 1, a(1) = 1.
a(n) = n * A062805(n) = n^2 * A058128(n) = n^3 * A060073(n).
EXAMPLE
a(1) = 1;
a(2) = 2^2 + 2*2^1 = 8;
a(3) = 3^3 + 2*3^2 + 3*3^1 = 54;
a(4) = 4^4 + 2*4^3 + 3*4^2 + 4*4^1 = 448;
a(5) = 5^5 + 2*5^4 + 3*5^3 + 4*5^2 + 5*5^1 = 4875.
MAPLE
a:= n-> `if`(n=1, 1, (n^n-n)*(n/(n-1))^2):
seq(a(n), n=1..20); # Alois P. Heinz, Sep 02 2021
PROG
(Python)
def A347274(n): return 1 if n == 1 else n**2*(n**n-n)//(n - 1)**2 # Chai Wah Wu, Sep 12 2021
CROSSREFS
Sequence in context: A263885 A002775 A079754 * A298985 A142703 A138403
KEYWORD
nonn
AUTHOR
Ryan Stubbs, Aug 25 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 16:45 EDT 2024. Contains 372533 sequences. (Running on oeis4.)