OFFSET
1,2
COMMENTS
p divides a(p+1) for odd primes p.
p^2 divides a(p+1) for prime p = {3, 7, 71, ...}.
Determinant of n X n Vandermonde matrix of numbers 1,2,...,n equals Product_{k=1..n-1} k! = A000178(n-1) (Superfactorials).
LINKS
Eric Weisstein's World of Mathematics, Vandermonde Matrix
FORMULA
a(n) = Sum_{i=1..n, j=1..n} i^(j-1).
a(n) = n + Sum_{i=2..n} (i^n-1)/(i-1).
MATHEMATICA
Table[ n + Sum[ (i^n-1)/(i-1), {i, 2, n} ], {n, 1, 25} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Apr 18 2007
STATUS
approved