login
A280797
a(n) = (n^n - 1)*(n^n + 1)/(n + 1).
0
0, 0, 5, 182, 13107, 1627604, 310968905, 84777884106, 31274997412295, 15009463529699912, 9090909090909090909, 6783562448903313426110, 6115142092568526471803195, 6552380728090615475599972572, 8231779712749862388415318790417, 11984441202055255416780710220336914
OFFSET
0,3
FORMULA
a(n) = A117812(n)/(n + 1).
EXAMPLE
a(0) = 0 because (0^0 - 1)*(0^0 + 1)/(0 + 1) = 0,
a(1) = 0 because (1^1 - 1)*(1^1 + 1)/(1 + 1) = 0,
a(2) = 5 because (2^2 - 1)*(2^2 + 1)/(2 + 1) = 5.
MATHEMATICA
Table[If[n == 0, 0, (n^n - 1) (n^n + 1)/(n + 1)], {n, 0, 15}] (* Michael De Vlieger, Jan 09 2017 *)
PROG
(Magma) [(n^(2*n)-1)/(n+1): n in [0..15)];
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset changed to 0 by Georg Fischer, Jul 15 2024
STATUS
approved