A347263 Irregular triangle read by rows: T(n,k) is the sum of the subparts of the ziggurat diagram of n (described in A347186) that arise from the (2*k-1)-th double-staircase of the double-staircases diagram of n (described in A335616), n >= 1, k >= 1, and the first element of column k is in row A000384(k).
1, 4, 6, 16, 12, 36, 1, 20, 0, 64, 0, 30, 6, 90, 0, 42, 0, 144, 17, 56, 0, 156, 0, 72, 34, 1, 256, 0, 0, 90, 0, 0, 324, 10, 0, 110, 0, 0, 400, 0, 8, 132, 70, 0, 342, 0, 0, 156, 0, 0, 576, 121, 0, 182, 0, 25, 462, 0, 0, 210, 102, 0, 784, 0, 0, 1, 240, 0, 0, 0, 900, 24, 52, 0, 272, 0, 0, 0
Offset: 1
Examples
Triangle begins: n / k 1 2 3 4 ------------------------------ 1 | 1; 2 | 4; 3 | 6; 4 | 16; 5 | 12; 6 | 36, 1; 7 | 20, 0; 8 | 64, 0; 9 | 30, 6; 10 | 90, 0; 11 | 42, 0; 12 | 144, 17; 13 | 56, 0; 14 | 156, 0; 15 | 72, 34, 1; 16 | 256, 0, 0; 17 | 90, 0, 0; 18 | 324, 10, 0; 19 | 110, 0 0; 20 | 400, 0, 8; 21 | 132, 70, 0; 22 | 342, 0, 0; 23 | 156, 0, 0; 24 | 576, 121, 0; 25 | 182, 0, 25; 26 | 462, 0, 0; 27 | 210, 102, 0; 28 | 784, 0, 0, 1; ... For n = 15 the calculation of the 15th row of the triangle (in accordance with the geometric algorithm described in A347186) is as follows: Stage 1 (Construction): We draw the diagram called "double-staircases" with 15 levels described in A335616. Then we label the five double-staircases (j = 1..5) as shown below: _ _| |_ _| _ |_ _| | | |_ _| _| |_ |_ _| | _ | |_ _| _| | | |_ |_ _| | | | | |_ _| _| _| |_ |_ |_ _| | | _ | | |_ _| _| | | | | |_ |_ _| | _| | | |_ | |_ _| _| | | | | |_ |_ _| | | _| |_ | | |_ _| _| _| | _ | |_ |_ |_ |_ _ _ _ _ _ _ _|_ _ _|_ _|_|_|_|_ _|_ _ _|_ _ _ _ _ _ _ _| 1 2 3 4 5 . Stage 2 (Debugging): We remove the fourth double-staircase as it does not have at least one step at level 1 of the diagram starting from the base, as shown below: _ _| |_ _| _ |_ _| | | |_ _| _| |_ |_ _| | _ | |_ _| _| | | |_ |_ _| | | | | |_ _| _| _| |_ |_ |_ _| | | | | |_ _| _| | | |_ |_ _| | _| |_ | |_ _| _| | | |_ |_ _| | | | | |_ _| _| _| _ |_ |_ |_ |_ _ _ _ _ _ _ _|_ _ _|_ _ _|_|_ _ _|_ _ _|_ _ _ _ _ _ _ _| 1 2 3 5 . Stage 3 (Annihilation): We delete the second double-staircase and the steps of the first double-staircase that are just above the second double-staircase. The new diagram has two double-staircases and two simple-staircases as shown below: _ | | _ | | _ _| | _| |_ | |_ _| | | | | |_ _| | | | | |_ _| | _| |_ | |_ _| | | | | |_ _| | | | | |_ _| | _| _ |_ | |_ |_ _ _ _ _ _ _ _|_ _ _|_ _ _|_|_ _ _|_ _ _|_ _ _ _ _ _ _ _| 1 3 5 . The diagram is called "ziggurat of 15". Now we calculate the area (or the number of cells) under the staircases with multiplicity using polygonal numbers as shown below: The area under the staircase labeled 1 is equal to A000217(8) = 36. There is a pair of these staircases, so T(15,1) = 2*36 = 72. The area under the double-staircase labeled 3 is equal to A000326(4) + A000326(3) = 22 + 12 = 34, so T(15,2) = 34. The area under the double-staircase labeled 5 is equal to A000566(1) + A000566(0) = 1 + 0 = 1, so T(15,3) = 1. Therefore the 15th row of the triangle is [72, 34, 1].
Comments