|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|