login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096037
Triangle T(n,m) = (3*n+3*m-2)*(n+1-m)/2 read by rows.
3
2, 7, 5, 15, 13, 8, 26, 24, 19, 11, 40, 38, 33, 25, 14, 57, 55, 50, 42, 31, 17, 77, 75, 70, 62, 51, 37, 20, 100, 98, 93, 85, 74, 60, 43, 23, 126, 124, 119, 111, 100, 86, 69, 49, 26, 155, 153, 148, 140, 129, 115, 98, 78, 55, 29, 187, 185, 180, 172, 161, 147, 130, 110, 87, 61, 32
OFFSET
1,1
FORMULA
T(n,m) = (3*n+3*m-2)*(n+1-m)/2 .
T(n,m) = A094930(n,m)/(3*m-1).
T(n,1) = A005449(n).
T(n,n) = A016768(n-1).
Row sums: sum_{m=1..n} T(n,m) = n^2*(n+1) = A011379(n).
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
nonn,easy,tabl
AUTHOR
Gary W. Adamson, Jun 17 2004
EXTENSIONS
Edited and extended, A-numbers corrected by R. J. Mathar, Oct 11 2009
STATUS
approved