OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1,...,100
FORMULA
a(n) = {n(n+1)/2}*{a(n-1)-1}+1
EXAMPLE
a(6) = 1 * 3 * 6 * 10 *15 * 21 + 1 = 56701
MAPLE
for n from 1 to 30 do printf(`%d, `, 1+product(j*(j+1)/2, j=1..n)) od:
PROG
(PARI) { for (n=1, 100, if (n>1, a=(n*(n + 1)/2)*(a - 1) + 1, a=2); write("b061213.txt", n, " ", a) ) } \\ Harry J. Smith, Jul 19 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 21 2001
EXTENSIONS
More terms from James A. Sellers, Apr 24 2001
OFFSET changed from 0,1 to 1,1 and EXAMPLE corrected by Harry J. Smith, Jul 19 2009
STATUS
approved