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!)
A306377 a(n) = n^(n+1) - Sum_{k=1..n-1} k^(k+1). 0
1, 7, 72, 934, 14511, 263197, 5468126, 128156252, 3346505197, 96372936395, 3034801313116, 103751149938746, 3827141124879891, 151520483911293537, 6408792648508559714, 288419881116435604320, 13761208522825454943617, 693870384974027681319231 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 2*A007778(n) - A062815(n).
EXAMPLE
a(5) = 5^6 - 4^5 - 3^4 - 2^3 - 1^2 = 14511.
PROG
(PARI) a(n) = n^(n+1) - sum(k=1, n-1, k^(k+1)); \\ Michel Marcus, Feb 11 2019
CROSSREFS
Sequence in context: A077332 A222833 A005413 * A230890 A203473 A197951
KEYWORD
nonn
AUTHOR
Kritsada Moomuang, Feb 11 2019
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 August 12 10:46 EDT 2024. Contains 375092 sequences. (Running on oeis4.)