A286013 Irregular triangle read by rows: T(n,k), n>=1, k>=1, in which column k lists the positive integers starting with k, interleaved with k-1 zeros, and the first element of column k is in row k(k+1)/2.
1, 2, 3, 2, 4, 0, 5, 3, 6, 0, 3, 7, 4, 0, 8, 0, 0, 9, 5, 4, 10, 0, 0, 4, 11, 6, 0, 0, 12, 0, 5, 0, 13, 7, 0, 0, 14, 0, 0, 5, 15, 8, 6, 0, 5, 16, 0, 0, 0, 0, 17, 9, 0, 0, 0, 18, 0, 7, 6, 0, 19, 10, 0, 0, 0, 20, 0, 0, 0, 6, 21, 11, 8, 0, 0, 6, 22, 0, 0, 7, 0, 0, 23, 12, 0, 0, 0, 0, 24, 0, 9, 0, 0, 0, 25, 13, 0, 0, 7, 0
Offset: 1
Examples
Triangle begins: 1; 2; 3, 2; 4, 0; 5, 3; 6, 0, 3; 7, 4, 0; 8, 0, 0; 9, 5, 4; 10, 0, 0, 4; 11, 6, 0, 0; 12, 0, 5, 0; 13, 7, 0, 0; 14, 0, 0, 5; 15, 8, 6, 0, 5; 16, 0, 0, 0, 0; 17, 9, 0, 0, 0; 18, 0, 7, 6, 0; 19, 10, 0, 0, 0; 20, 0, 0, 0, 6; 21, 11, 8, 0, 0, 6; 22, 0, 0, 7, 0, 0; 23, 12, 0, 0, 0, 0; 24, 0, 9, 0, 0, 0; 25, 13, 0, 0, 7, 0; 26, 0, 0, 8, 0, 0; 27, 14, 10, 0, 0, 7; 28, 0, 0, 0, 0, 0, 7; ... In accordance with the conjecture, for n = 15 there are four partitions of 15 into consecutive parts: [15], [8, 7], [6, 5, 4] and [5, 4, 3, 2, 1]. The largest parts are 15, 8, 6, 5, respectively, so the 15th row of the triangle is [15, 8, 6, 0, 5].
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10944 (Rows 1 <= n <= 528, 528 being first row with 32 columns).
Crossrefs
Programs
-
Mathematica
With[{n = 7}, DeleteCases[#, m_ /; m < 0] & /@ Transpose@ Table[Apply[Join @@ {ConstantArray[-1, #2 - 1], Array[(k + #/k) Boole[Mod[#, k] == 0] &, #1 - #2 + 1, 0]} &, # (# + 1)/2 & /@ {n, k}], {k, n}]] // Flatten (* Michael De Vlieger, Jul 21 2017 *)
Formula
For k >= 1, m >= 0, T(A000217(k)+km,k) = k+m. - Peter Munn, Jun 19 2017
Comments