OFFSET
1,1
FORMULA
EXAMPLE
The triangle starts in row n=1 as
2;
7,5;
15,13,8;
26,24,19,11;
PROG
(Python)
def A096037(n, m):
return (3*n+3*m-2)*(n+1-m)//2
print( [A096037(n, m) for n in range(20) for m in range(1, n+1)] )
# R. J. Mathar, Oct 11 2009
CROSSREFS
KEYWORD
AUTHOR
Gary W. Adamson, Jun 17 2004
EXTENSIONS
Edited and extended, A-numbers corrected by R. J. Mathar, Oct 11 2009
STATUS
approved