|
EXAMPLE
|
The start of the sequence as a table:
1, 3, 2, 8, 7, 17, 16, 30, 29, ...
5, 4, 10, 9, 19, 18, 32, 31, 49, ...
6, 12, 11, 21, 20, 34, 33, 51, 50, ...
14, 13, 23, 22, 36, 35, 53, 52, 74, ...
15, 25, 24, 38, 37, 55, 54, 76, 75, ...
27, 26, 40, 39, 57, 56, 78, 77, 103, ...
28, 42, 41, 59, 58, 80, 79, 105, 104, ...
44, 43, 61, 60, 82, 81, 107, 106, 136, ...
45, 63, 62, 84, 83, 109, 108, 138, 137, ...
...
The start of the sequence as a triangular array read by rows:
1;
3, 5;
2, 4, 6;
8, 10, 12, 14;
7, 9, 11, 13, 15;
17, 19, 21, 23, 25, 27;
16, 18, 20, 22, 24, 26, 28;
30, 32, 34, 36, 38, 40, 42, 44;
29, 31, 33, 35, 37, 39, 41, 43, 45;
...
The sequence as array read by rows, the length of row r is 4*r-1. First 2*r-1 numbers are from row 2*r-1 of the triangular array above. Last 2*r numbers are from row 2*r of the triangular array. The start of the sequence:
1,3,5;
2,4,6,8,10,12,14;
7,9,11,13,15,17,19,21,23,25,27;
16,18,20,22,24,26,28,30,32,34,36,38,40,42,44;
29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65;
...
Row r contains 4*r-1 numbers: 2*r^2-5*r+4, 2*r^2-5*r+6, 2*r^2-5*r+8, ..., r*(2*r+3).
Considered as a triangle, the rows have constant parity.
|