Now consider rays in the pyramid towards the corners, starting from the
smallest integer on a level. The sum of the elements in the leftmost ray is the
first sequence in (6). The next ray gives the sequence
with terms
In general, these sequences are generated by
for l = 0 to 3, so the remaining sequences are
Now consider wedges in the pyramid. The sum of the elements in the
leftmost wedge results in the sequence
for l = 0 to 3. For example, the last sequence is generated by
and (4) is obtained with l = 4.