A106255 Triangle composed of triangular numbers, row sums = A006918.
1, 1, 1, 1, 3, 1, 1, 3, 3, 1, 1, 3, 6, 3, 1, 1, 3, 6, 6, 3, 1, 1, 3, 6, 10, 6, 3, 1, 1, 3, 6, 10, 10, 6, 3, 1, 1, 3, 6, 10, 15, 10, 6, 3, 1, 1, 3, 6, 10, 15, 15, 10, 6, 3, 1, 1, 3, 6, 10, 15, 21, 15, 10, 6, 3, 1
Offset: 1
Examples
From _Boris Putievskiy_, Jan 13 2013: (Start) The start of the sequence as table: 1, 1, 1, 1, 1, 1, ... 1, 3, 3, 3, 3, 3, ... 1, 3, 6, 6, 6, 6, ... 1, 3, 6, 10, 10, 10, ... 1, 3, 6, 10, 15, 15, ... 1, 3, 6, 10, 15, 21, ... 1, 3, 6, 10, 15, 21, ... ... (End) Triangle rows or columns can be generated by following the triangle format: 1; 1, 1; 1, 3, 1; 1, 3, 3, 1; 1, 3, 6, 3, 1; 1, 3, 6, 6, 3, 1; 1, 3, 6, 10, 6, 3, 1; 1, 3, 6, 10, 10, 6, 3, 1; 1, 3, 6, 10, 15, 10, 6, 3, 1; 1, 3, 6, 10, 15, 15, 10, 6, 3, 1; 1, 3, 6, 10, 15, 21, 15, 10, 6, 3, 1; ...
Links
- Boris Putievskiy, Transformations [of] Integer Sequences And Pairing Functions arXiv:1212.2732 [math.CO], 2012.
Programs
-
Mathematica
p[x_, n_] = Sum[x^i*If[i ==Floor[n/2] && Mod[n, 2] == 0, 0, If[i <= Floor[n/2], 2*(i + 1), -(2*((n + 1) - i))]], {i, 0, n}]/(2*(1 - x)); Table[CoefficientList[FullSimplify[p[x, n]], x], {n, 1, 11}]; Flatten[%]
Formula
From Boris Putievskiy, Jan 13 2013: (Start)
T(n,k) = min(n*(n+1)/2,k*(k+1)/2), read by antidiagonals.
a(n) = min(i*(i+1)/2, j*(j+1)/2), where
i = n-t*(t+1)/2,
j = (t*t+3*t+4)/2-n,
t = floor((-1+sqrt(8*n-7))/2). (End)
Extensions
Additional comments from Roger L. Bagula and Gary W. Adamson, Apr 02 2009
Comments