A176798 Triangle read by rows: T(n,m)=1 + n*(2*m + 1 + n)/2, 0<=m<=n.
1, 2, 3, 4, 6, 8, 7, 10, 13, 16, 11, 15, 19, 23, 27, 16, 21, 26, 31, 36, 41, 22, 28, 34, 40, 46, 52, 58, 29, 36, 43, 50, 57, 64, 71, 78, 37, 45, 53, 61, 69, 77, 85, 93, 101, 46, 55, 64, 73, 82, 91, 100, 109, 118, 127, 56, 66, 76, 86, 96, 106, 116, 126, 136, 146, 156
Offset: 0
Examples
1; 2, 3; 4, 6, 8; 7, 10, 13, 16; 11, 15, 19, 23, 27; 16, 21, 26, 31, 36, 41; 22, 28, 34, 40, 46, 52, 58; 29, 36, 43, 50, 57, 64, 71, 78; 37, 45, 53, 61, 69, 77, 85, 93, 101; 46, 55, 64, 73, 82, 91, 100, 109, 118, 127; 56, 66, 76, 86, 96, 106, 116, 126, 136, 146, 156;
Links
- Ivan Neretin, Table of n, a(n) for n = 0..5150
Programs
-
Maple
A176798 := proc(n,m) 1+n*(2*m+1+n)/2 ; end proc: # R. J. Mathar, Feb 18 2016
-
Mathematica
t[n_, m_] = 1 + n*(2*m + 1 + n)/2; Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}]; Flatten[%]